ALBANY — The city cop who crashed his car and left the scene twice in eight months has resigned from the police force.

Shawn Dixon left his job as an Albany police officer on April 21, department spokesman Officer Steve Smith said Thursday. Both crashes happened while Dixon was off-duty.

In May 2017, Dixon crashed into another driver in Pine Hills and was charged with misdemeanor leaving the scene of a personal injury car crash. He pleaded guilty to leaving the scene of a property damage car crash, which is a violation, in August and was ordered to pay $50 restitution.

In December, Dixon drove drunk, crashed a utility pole near a transformer and ended up in a ravine in Albany's Lincoln Park. Police found him on on State Street soon after.

He was charged with driving while intoxicated, criminal mischief and leaving the scene of a crash, and in March pleaded guilty to drunken driving. His sentencing, where he faces three years of probation, is scheduled for June 1.

Dixon announced he would resign after pleading guilty in March. The Albany Police Department had said earlier that month they were considering firing him.

Two other Albany police officers have faced drunken driving charges in the past year.

Eugene O'Hanlon was suspended without pay for 30 days in January 2017 after being charged with aggravated drunken driving and several traffic violations in Saratoga Springs.

O'Hanlon pleaded guilty to a reduced charge, driving while intoxicated, in August 2017. The city court judge suspended his license for six months and imposed a $895 fine and surcharge.

The Albany Police Department later demoted O'Hanlon from detective to officer and reassigned him to city court duty, Smith said.

Officer Arthur Burnett was charged with driving while intoxicated in February 2018, after allegedly driving drunk and crashing his car into a guard rail on Alternate Route 7 in Colonie while off-duty.

Burnett remains suspended without pay as Albany police launch an internal investigation.