Johnson City police say a convicted felon who had a loaded stolen gun when he refused to leave his vehicle during a traffic stop was released by a judge.

According to a news release, 39-year-old Kennard Wellington of Endwell was driving a vehicle that was pulled over by police on Main Street Friday evening.

Police say the traffic stop occurred because the vehicle's registration had been suspended for lack of valid insurance.

Authorities say officers struggled with Wellington when he would not get out of the vehicle so it could be towed. Police discovered the man had a gun concealed in his waistband.

Officers later determined the .40 caliber handgun, which was reported stolen out of South Carolina, was loaded with a high-capacity magazine.

Wellington faces felony weapon possession charges. He also was charged with criminal possession of stolen property and obstruction of governmental administration.

Police say Wellington was arraigned and released on his own recognizance.

According to the police news release, one of the charges filed against Wellington is second-degree criminal possession of a weapon, "a qualifying offense which allows a judge to set bail and remand a defendant to jail."

Enter your number to get our free mobile app

Contact WNBF News reporter Bob Joseph: bob@wnbf.com.

For breaking news and updates on developing stories, follow @BinghamtonNow on Twitter.

See How School Cafeteria Meals Have Changed Over the Past 100 Years

Using government and news reports, Stacker has traced the history of cafeteria meals from their inception to the present day, with data from news and government reports. Read on to see how various legal acts, food trends, and budget cuts have changed what kids are getting on their trays.

LOOK: Here are the pets banned in each state

Because the regulation of exotic animals is left to states, some organizations, including The Humane Society of the United States, advocate for federal, standardized legislation that would ban owning large cats, bears, primates, and large poisonous snakes as pets.

Read on to see which pets are banned in your home state, as well as across the nation.