AUGUSTA, Maine — A former Maine legislator accused of pulling a loaded gun on a stranger in the parking lot of a Waterville doughnut shop is expected to plead guilty.

An attorney for former Republican state Rep. Frederick Wintle told a judge on Tuesday that a deal has been reached and a hearing was rescheduled for Thursday in Kennebec County Superior Court.

The Morning Sentinel reports that the deal is contingent on approval from the alleged victim.

The 59-year-old Wintle is charged with criminal threatening with a dangerous weapon, reckless conduct and carrying concealed weapon. He has pleaded not guilty and is free on bail.

Authorities say Wintle pointed the gun at a photographer in May. He resigned from the Legislature in September.

His lawyer says he suffered a mental breakdown.