Follow KDKA-TV: Facebook | Twitter

strong>TYNDALL, SD (CBS Local) – A South Dakota sheriff didn’t handle losing his bid for re-election well. The sheriff was defeated by his deputy and then fired him.

READ MORE: Allegheny County's Last Remaining Coal-Fired Plant Bought With Plans For Sustainable Redevelopment

Bon Homme County Sheriff Lenny Gramkow was soundly beaten by Deputy Mark Maggs on June 5. Maggs took home 878 of the 1,209 votes to become the county’s new sheriff in January.

Gramkow apparently wasn’t ready for there to be a new sheriff in town and sent his deputy a letter of termination one minute after the polls closed on Tuesday. The election winner posted his former boss’s letter on Facebook with the caption “Here’s the Integrity of Lenny Gramkow.”

READ MORE: Pittsburgh Best City For Baby Boomers, Housing Forecast Says

The spiteful act now leaves Maggs, his wife, and four children without a salary and health insurance until he takes over as sheriff in six months.

“My position right now is not only keeping my family’s best interests in mind but also Bon Homme County’s best interests in mind,” Maggs said, via the Yankton Daily Press & Dakotan.

Local residents have reportedly started a petition to have Maggs reinstated. The future county sheriff added a message to his Facebook post saying he is confident the county will find a way to take care of his family.

“The petition will not be necessary. I trust our county commissioners heard your voices last night through the election results, and I also trust that they will stand with my family and I in the way you all have and ensure that my family will not be left hanging without an income or insurance,” Maggs wrote on June 6.

MORE NEWS: 33-Year-Old Man In Jail, Facing Charges Of Sexual Assault

Sheriff Gramkow has refused to comment on the firing since election night.