North Miami Beach Mayor George Vallejo reached a plea deal and resigned from office for violating campaign finance law in the 2015 election when he ran unopposed.

Vallejo pleaded guilty Tuesday before Miami-Dade County Court Judge Sam Slom to two misdemeanor counts of violating campaign finance laws. The state attorney's office charged he routed $5,000 in campaign donations from a political action committee back to himself and his wife, Sandra Shinego, and used the money for personal expenses.

The PAC treasurer transferred the money to a company formed by the couple in 2014, and the money moved through two other companies formed in Florida and Wyoming before reaching the mayor and his wife, prosecutors charged.

Vallejo, who was mayor for seven years and an Allied Florida Group mortgage broker, was ordered to serve 90 days of house arrest, complete 500 hours of community service and serve 18 months of probation. During that time, he is barred from holding any public office. He also was required to write a letter of apology to the city.

Vallejo was represented by Jeffrey Sloman of Stumphauzer & Sloman in Miami, and Benedict P. Kuehne of Kuehne Davis Law in Miami represented Shinego, who was not charged.

Sloman noted Shinego is undergoing cancer treatment and said her husband was “looking forward to putting this behind him.”