Published: Nov 05, 2010 8:31 PM EDT
Updated: Nov 05, 2010 5:31 PM EDT

BARTOW, Fla. (AP) - The mayor of a central Florida town has to resign from office as part of a plea deal in a sex case.

The Ledger of Lakeland reported that 33-year-old Mulberry Mayor John Julian Mullis had faced one count of sexual activity with a minor over an  incident with a 17-year-old boy.

He pleaded no-contest to a misdemeanor charge of disorderly conduct Friday as part of a plea deal that requires him to resign from office.

An arrest affidavit said the boy told a teacher about a consensual sexual relationship with Mullis, who said the boy had listed his age as 19 on a social networking website.

Mulberry, with about 3,200 residents, is south of Lakeland.