Three sheriff's deputies and two police officers were shot Wednesday in South Carolina, sheriff’s Deputy Chief Glenn Kirby told local media.

One of the officers has died from their wounds, the office of the Florence County Coroner confirmed to multiple news outlets.

The incident occurred in Vintage Place, an upscale residential community in Florence County, during what was deemed an active shooter situation by the Florence County Emergency Management Department (FCEMD).

The suspect is currently in custody, according to the department.

"The active shooting situation is over and the suspect is in custody. We are asking everyone to stay away from Vintage Place, as there is still an active crime investigation in progress," the FCEMD said on Twitter.

South Carolina Governor Henry McMaster offered prayers for the wounded officers.

"This is simply devastating news from Florence. The selfless acts of bravery from the men and women in law enforcement is real, just like the power of prayer is real. Peggy and I ask that you pray for them, pray for their recovery, pray for their families, and pray for all of Florence," McMaster said on social media.

South Carolina Senator Tim Cook also offered words of solace.

"Prayers with injured officers in Florence and their families," Cook tweeted.