Updated

A sheriff’s deputy in Colorado was "ambushed" and shot several times early Thursday morning, preceding an hours-long hunt for the suspect, who was later caught, officials said. 

The deputy was responding to a report of a theft in progress shortly after 3 a.m. local time in the area of U.S. routes 40 and 287 in Lincoln County, the local sheriff’s office said. 

FLORIDA GIRL, 11, WHO FENDED OFF ATTEMPTED KIDNAPPER, CREDITS SLIME, ‘LAW & ORDER’ WITH HELPING CATCH SUSPECT

"A deputy arrived a short time later and was ambushed being shot several times," the Lincoln County Sheriff’s Office said in a post on its Facebook page

Police said it is not yet clear if the deputy was able to fire back. The deputy called for backup, and several law enforcement agencies responded to the scene, the sheriff’s office said. 

CLICK HERE TO GET THE FOX NEWS APP

The deputy was rushed to an area hospital, but their condition is not yet clear. 

Meanwhile, police captured the suspect later on Thursday but have not yet released the person's identity or charges.