(CNN) A former Florida mayor was sentenced to 51 months in prison Friday after defrauding the charity United Way of more than half a million dollars.

Guy Thompson, a former mayor of Milton, a city northeast of Pensacola, last year pleaded guilty to 20 counts of wire fraud and three counts of tax evasion in the case, according to court documents.

Between 2011 and 2018, Thompson was able to embezzle a total of $652,000.61 from United Way of Santa Rosa County while he served as executive director of the charity, court documents said.

Thompson deposited donations to the charity into his personal bank accounts -- without telling anyone at the charity's chapter about the donations -- and used the money to make mortgage payments and to buy a beach condominium, according to the documents.

Ryan Cardoso, an attorney for Thompson, said the former mayor is "repentant and committed to making amends."

Read More