BARDSTOWN, Ky. (WDRB) -- Bardstown Police Department will see a major change in leadership as the No. 2 in command steps down.

Mayor Dick Heaton announced Capt. McKenzie Mattingly's resignation Tuesday night at a city council work session. 

Mattingly notified the city on June 2 and will work in an officer role until July 14.

Mattingly was promoted to captain in April of last year by former Mayor John Royalty, who was removed from office amid allegations of official misconduct

Last year, Councilwoman Kecia Copeland accused Mattingly of lodging a personal attack during city elections. Mattingly's open records requests involving Copeland's iPad were brought into question during the city council's investigation into Royalty.

The council determined Royalty gained improper access to Copeland's emails.

Heaton said he did not ask for Mattingly's resignation, and the city is trying to make the transition as seamless as possible.

"We have appointed former Bardstown Police Chief C.D. Marksbury to serve as interim captain. C.D. is currently employed on a part-time basis with the city," Heaton said.   

Marksbury and the Heaton declined to comment further about the resignation.

Copyright 2017 WDRB Media. All Rights Reserved.