Brian Jones, of Freedom, a former Democratic state representative, pleaded guilty Thursday to charges of disorderly conduct and failure to provide correct name related to an incident in which a state trooper discovered him having sex with a woman in a van in a park-and-ride parking lot in West Gardiner.

Jones, 57, initially was charged in September with indecent conduct and failure to give his correct name.

On Thursday in Augusta District Court, the indecent conduct charge was replaced with a disorderly conduct charge and he was given a 12-month deferred disposition. If he avoids further criminal trouble and complies with conditions, he can withdraw those pleas and the charges will be dismissed.

That hearing is set for Jan. 14, 2016.

The case was heard by Judge Patrick Ende, and Jones was represented by attorney Mark Dion, a Democratic state representative from Portland.

According to state police, the trooper who arrested Jones discovered his identity only when he found Jones’ car, bearing Maine legislative plates, across the street at the West Gardiner service plaza. Both the park-and-ride lot and the service plaza are just off the Maine Turnpike.

At the time of the incident, Jones released a statement saying he was “deeply embarrassed” by his actions and said they were related to “my long term struggle with alcoholism.” Jones, who served one term in the Maine House, was defeated in November by Republican Mary Anne Kinney of Knox.