Updated

A North Carolina police officer was shot and wounded by a suspect early Monday morning in a secure area of the Durham County Jail, officials said.

The officer, who has not been identified, was taken to Duke University Hospital, treated and released, police spokesman Wil Glenn told The News and Observer.

The suspect, who was not named, had originally been brought in following an arrest for an unspecified crime around 4 a.m. The incident occurred while the officer was in the jail’s sally port, a secure area where suspects are transferred from police vehicles.

It’s not clear if the suspect had a gun hidden or was able to take a gun from the officer or another officer.