A former Long Beach bus driver pleaded guilty Friday to charges that he drunkenly sideswiped more than a dozen cars as he was finishing up his route earlier this year, according to authorities.

A judge sentenced John Moreno, 48, to five years of probation over strenuous objections from prosecutors, who pushed for jail time.

Moreno, who worked for Long Beach Transit, was arrested in the early morning hours of April 1 when he kept driving his bus after he hit 14 parked cars near Pacific Avenue and Anaheim Street, authorities said at the time. No one else was aboard the bus, police said.

He didn’t stop until one of the car’s owners flagged him down, and when police arrived, they measured Moreno’s blood-alcohol level at .3%, a police source previously told the Long Beach Post.

Prosecutors charged Moreno with 16 misdemeanors: 14 counts of hit-and-run along with one count each of driving under the influence of alcohol and driving with a blood-alcohol content over .08%.

Prosecutors said Moreno will also have to pay restitution and fines, submit to authorities monitoring his location and blood-alcohol level, and do 30 days of community service as part of his sentence.

Moreno, a Corona resident, no longer works for Long Beach Transit, a spokesman said shortly after his arrest.