ROBERTSON COUNTY, Texas (KXAN) — Authorities arrested a man Friday wanted in connection with two separate police officer shootings, officials said in a tweet.

Bryan Police said one of its officers was taken to the hospital after being shot late Thursday night during a traffic stop. Police said a Brazos County sheriff’s deputy was shot Friday after seeing and chasing the suspect, according to FOX 44 in Waco. Both officers are in stable condition.

On Thursday, police said the man ran away from his vehicle and officers during the attempted stop. The man shot the officer during the chase, and the officer did not shoot back at the suspect.

The suspect returned to the patrol car, stole it and left the area, police said.

On Friday, the Robertson County Sheriff’s Office alerted the public through Facebook posts that certain roads in the town were closed due to reports of an active shooter. The area was also ordered to shelter in place Friday afternoon.

RCSO later posted that it was searching for Joshua Ryan Herrin, the man wanted in the Bryan shooting, and warned residents not to approach him but instead call 911.

Bryan neighbors College Station and is located about 100 miles east of Austin.