GREENVILLE COUNTY, S.C. (WSPA) – Deputies have arrested a man after a standoff Thursday in Greenville County.

According to the Greenville County Sheriff’s Office, deputies were called to a home on Highlawn Avenue around 3:50 p.m. for a domestic situation.

When deputies arrived, they said they found a person who was armed with a gun.

The sheriff’s office said they along with their SWAT team worked to negotiate with the person to end the situation peacefully.

Deputies said the other person at the home was safe.

Around 6:30 p.m., deputies said the suspect, identified as 54-year-old Rodney Cogdell, surrendered to them and was arrested.

Cogdell was charged with domestic violence high and aggravated, according to the sheriff’s office.