NASHVILLE, Tenn. (WKRN) – Nashville Mayor Megan Barry pleaded guilty in Davidson County court to felony theft charges Tuesday morning.

One condition of Barry’s plea agreement was to resign from the office of mayor.

Barry pleaded guilty to felony theft of property over $10,000 charges. It is a conditional plea agreement for which Barry will receive three years unsupervised probation.

She also must pay $11,000 in restitution and if she follows her plea agreement for next three years, the charges can be dismissed and expunged.

In Court, District Attorney General Glenn Funk said that had the case gone to trial, witnesses would have testified that between March 2016 and February 2018 Megan Barry caused over $10,000 and no less than $60,000 of Metro Nashville city funds to be expended unlawfully.

Barry held a press conference Tuesday morning at City Hall to announce her resignation.

Mayor Barry has been under investigation by the Tennessee Bureau of Investigation and the Metro Council.

The investigation began after Barry admitted to the public on Jan. 31 that she had an extramarital affair with her former head of security, Sgt. Robert Forrest. The relationship, she said was consensual, and began shortly after she took office in 2015.