SACRAMENTO (CBS13) – A suspect has been arrested after an hours-long manhunt in Carmichael on Friday. It started when a police officer and a suspect exchanged fire, killing the suspect and injuring the officer.

The shooting happened around 8:15 p.m. in the area of Ranger Way and Rampart Drive just off Winding Way, according to the Sacramento County Sheriff’s Office.

READ MORE: 'I Don't Think That's Fair': Allora Co-Owner Says Staff Was Bumped Down Vaccine List

When authorities arrived at the scene, they found the officer suffering from a gunshot wound. They also found a suspect who had been shot dead by the officer, according to a sheriff’s department spokesperson.

The unnamed officer has been identified as a 47-year-old, 15-year veteran of the force. The officer was treated by firefighter paramedics and transported to a local hospital with unknown injuries.

There was a heavy police presence in the area, including SWAT officers, as authorities searched for multiple suspects. A male suspect was eventually found and taken into custody.

READ MORE: 'My Nephew Died A Hero': Family Honors Man From Sacramento Mistakenly Shot And Killed By Idaho Police

Authorities still have not said what prompted the shooting.

MORE NEWS: 3-Car Crash Forces I-80 Lane Closures, CHP Says