An Albuquerque police officer exchanged fire with a suspect Wednesday night after a carjacking and SWAT standoff, Police Chief Harold Medina said.

The man was taken into custody but police have not said if he was injured. He has not been publicly identified.

Medina said the incident began when officers were called to a carjacking that occurred on the 6300 block of Montgomery NE.

“A female had returned home from work and as she was exiting her vehicle, she was approached and she was robbed of her vehicle,” Medina said in an early morning briefing.

Officers used a tracking system from the woman’s car and located it at a house on the 1400 block of Betts NE.

Detectives surrounded the home and a tactical team arrived to help take the suspect into custody. Some people from the home exited and surrendered but one person fled through the rear of the home, reentered and eventually fired shots at officers, Medina said.

“We are grateful that none of our officers were injured. At least one officer did return fire,” he said, adding that the incident will be investigated by the Multi-Agency Task Force, which investigates all shootings by law enforcement.

Medina said the suspect was arrested and is expected to be booked on a warrant for a probation violation.

“Detectives will have to work to be able to charge this individual for the robbery of the female and also for the aggravated assault on our officers when he fired his firearm at officers,” he said.

Medina said the investigation was expected to continue through the night.