YORK COUNTY, S.C. – There were four South Carolina officers shot early this morning. The suspect is in custody.

The suspected South Carolina shooter was in custody early Tuesday morning after a gunman opened fire on several law enforcement officers, striking four of them, authorities said.

The four officers—three York County Sheriff’s deputies and a K9 officer—were taken to a hospital. However, their conditions weren’t immediately known.

The man accused of being the gunman was identified as Christian Thomas McCall, 47, reported Fox News. He was taken into custody, but not before sustaining gunshot wounds during the shooting, police said.

“The sheriff’s office can really use your prayers and your thoughts,” York County Sheriff’s spokesman Trent Faris said about the wounded officers.

South Carolina officers shot

Authorities were responding to a domestic call just after 10 p.m. Monday in York, about 25 miles southwest of Charlotte, but the suspect had already fled the scene on foot when they arrived, Faris said at a Tuesday news conference.

K9 units sent to the scene when McCall fired his weapon just after 1 a.m., striking one of the K9 officers, officials said. Three York County Sheriff’s deputies were shot about 3:30 a.m. while searching the woods.

The officers’ names were not released.