DEWITT, Ark. (AP) — The sheriff of an Arkansas Delta county resigned Friday under pressure after a recording of a man identified as him delivering a racist rant went viral.

Arkansas County Sheriff Todd Wright resigned at the request of the county’s Quorum Court after the Pine Bluff Commercial reported a five-minute audio recording circulated on Facebook this week. The recording is of a man who uses a racial slur nine times after becoming upset that a woman he was with spoke to a black person in a grocery store. Throughout, the woman refers to the man as “Todd.”

County Judge Thomas Best, the county’s top elected administrator, said the Quorum Court decided Thursday to ask for Wright’s resignation after the recording began circulating on Facebook the day before.

“It saddens me that anyone would disrespect God’s creation in this manner,” Best said. “No way will I condone this action from anyone.”

Chief Deputy Randy Bateman will serve as sheriff until a replacement is appointed or a special election is held, Best said.

Wright had been with the sheriff’s office for 26 years, the last four as the elected sheriff.