CHICKASHA, Okla. — The police chief in this south-central Oklahoma city has resigned following a protest over a video he shared on Facebook that included a racial slur caption he said was created by the originator of the post.

Police Chief Eddie Adamson submitted his resignation Wednesday night, effective immediately, said City Manager Stewart Fairburn. The chief said he did not realize the caption was attached to the video when he reposted it.

Chickasha Police Sgt. Jeremy Alexander and other officers requested that Adamson be dismissed if he did not step down voluntarily. NAACP officials also expressed concern over the issue.

The controversy stemmed from a repost earlier this week by Adamson on his personal Facebook page of a Starbucks scene in the comedy "Role Models" featuring actor Paul Rudd. It included this caption, "How a real (N-word) order Starbucks."

Adamson took the item down and apologized. He said he reposted the video because his daughter recently began working at Starbucks.

But Alexander and other officers, in a complaint to the city manager, said the racially-charged word  "crossed a line that someone in his trusted position cannot cross."

"When I shared it I did not see the comment or realize it was attached," the chief said in a follow-up post to Facebook. "I do not use words like that and want to apologize to anyone who was offended by the unintentional posting of another's comment."

Details for this story were provided by the Chickasha, Okla., Express Star.