A Waco man was arrested late Thursday night after he picked up a loaded firearm while an officer was conducting a records check during a traffic stop, Waco police Sgt. W. Patrick Swanton said.

Officers pulled over Tommie Weaver, 54, shortly before midnight when he crossed into their lane in the 900 block of South 11th Street and almost hit their vehicle head-on, Swanton said.

After the primary officer made initial contact with Weaver, who also goes by the alias of Tyiwan Wilson, a second officer remained along the passenger side of Weaver's car, apparently unnoticed by Weaver, Swanton said.

While the officer was at his patrol vehicle conducting a records check, the second officer saw Weaver reach under the driver's seat and pick up a Glock 9 mm handgun, Swanton said. Officers later found the stolen weapon was fully loaded with an extended 31-round magazine, he said.

"He had armed himself and was waiting for the officer's return," Swanton said in a statement. "Our second officer immediately reacted to the threat and ordered Weaver to drop the gun."

Weaver dropped the gun at the officer's command and was taken into custody without incident, Swanton said.

He referred to the traffic stop as a "close call." Weaver has served time on aggravated assault and other convictions and was on parole for aggravated kidnapping at the time of the stop, Swanton said.

Police also found a marijuana and drug paraphernalia on Weaver at the time of his arrest.

"We remind our citizens that there is no such thing as a 'routine' traffic stop," Swanton said. "Please know, if an officer seems more businesslike than friendly on a traffic stop, these types of encounters are constantly on our mind."

Weaver was taken to McLennan County Jail on a state jail felony charge of theft of a firearm, a third-degree felony charge of unlawful possession of a firearm, and two Class B misdemeanor charges of driving with an invalid license and possession of marijuana. He remained jailed Friday afternoon with a bond listed at $12,000.

Kristin Hoppa has been covering public safety and breaking news for the Tribune-Herald since January 2016. She worked in Northwest Missouri covering crime-related issues before her move to Central Texas. She is a University of Kansas graduate.

Recommended for you