– A former Miami police officer accused of lying to a state grand jury in connection with a beating caught on video pleaded no contest Monday and received a three-year deferred sentence.

Teresa Lashmet, 37, appeared in Ottawa County District Court in Miami before Special Judge Bill Culver for what would have been her preliminary hearing, but the former officer waived her right to a preliminary hearing and pleaded no contest to two counts of outraging public decency and engaging in a pattern of criminal offenses.

Lashmet was indicted by the state attorney general on charges of perjury and engaging in a pattern of criminal offenses in the May 14, 2013, arrest of Jerry Dean Payne Jr., of Miami. She was accused of providing false information to a grand jury and on an arrest affidavit involving Payne, who was arrested on a drunken driving and other driving related complaints. The charges were dropped in October.

Kathryn Savage, assistant attorney general, said a plea had been in the works for some time.