Danny Sparks has resigned as mayor of Olive Hill, Kentucky after he was arrested for selling marijuana in the parking lot of an elementary school.

According to the Journal Times, drug agents had been investigating Sparks for weeks before making the arrest. Police set up a sting on the day before Thanksgiving and caught the mayor selling an unspecified quantity of weed to an undercover agent. He was charged with felony trafficking in marijuana within 1,000 feet of a school.

Police also say there was an open container of alcohol in Sparks' car.

In his resignation letter, Sparks claimed it was something he had "never done before."

He went on to say,  “I hope that everyone will understand that I have always tried to do the very best for Olive Hill and hope that the people will understand that I will always try to continue to help in any way possible to better this city regardless of what position I may serve."

Sparks was re-elected two years ago in a tight three way race for mayor in the small Northeastern Kentucky town.

More From