LARNED, Kan. — A Nebraska man who escaped injury early Saturday after a Kansas sheriff’s deputy fired shots at him has been arrested, the Kansas Bureau of Investigation said in a news release.

Authorities said the shooting happened following a traffic stop near the west-central Kansas town of Larned. The KBI said a Pawnee County sheriff’s deputy stopped a vehicle at about 1:30 a.m. Saturday on U.S. 56 and ordered the driver and passenger out of the vehicle after smelling marijuana. A fight ensued while the deputy was patting down the passenger, the release said, and the deputy fired his gun at the passenger, who fled on foot.

The passenger, identified as Alejandro Alvarado, 21, of Lincoln, was later found and arrested at Pawnee Rock, Kansas, about nine miles northeast along the highway from Larned, officials aid. Alvarado had not been shot.

He was booked into the Pawnee County Jail on an outstanding warrant for aggravated assault out of Finney County. The investigation into the shooting continues.