HAMPTON, Fla. -

A north Florida mayor who is jailed on drug charges has resigned from office.

The Gainesville Sun reported Hampton Mayor Barry Layne Moore submitted his resignation on Tuesday. He's being held in the Bradford County Jail on allegations of selling oxycodone.

Moore was suspended from office in November. He has not posted $45,000 bail.

Officials say Moore asked city councilman Bill Goodge, who is a sergeant at the jail, to help him with the resignation.  Goodge says Moore didn't want to "embarrass" the city any more.

The decision allows the city to move forward with an election. Acting Mayor Myrtice McCullough has been running the city since November.

Moore's arrest came just weeks after he was elected.

The city, known by most only for running a speed trap on a 1-mile stretch of U.S. 301 in Bradford County, has 500 residents.

A state audit of Hampton's books, released last month, found 31 instances in which local rules or state or federal laws were violated.  Last week, Florida Department of Law Enforcement investigators and the sheriff's office detectives searched Hampton City Hall. The door of the police chief's office was removed from its hinges as investigators combed the tin-roofed building for documents and other evidence.

A bill pending in the current Legislative session would dissolve the city, returning it to an unincorporated area of Bradford County.