A Rhode Island police officer who was off duty and out of uniform when he shot the 18-year-old driver of a car he had witnessed speeding past him on the highway was acquitted by a jury Thursday of several charges.

Pawtucket Officer Daniel Dolan, 40, was cleared of three counts of felony assault and one count of discharge of a firearm when committing a crime of violence in connection with the encounter in West Greenwich in June 23, 2021.

According to an investigation, Dolan was returning from a detail assignment when he encountered a speeding Audi sedan on Interstate 95 in West Greenwich.

FORMER VERMONT POLICE OFFICER ACQUITTED OF ASSAULT CHARGE FROM 2019 STUN GUN INCIDENT

The vehicles exited the highway and Dolan approached the driver of the Audi outside a pizza shop, where the driver and two teenage passengers intended to pick up a pizza to eat while watching an NBA playoff game.

When the operator of the Audi tried to drive away, Dolan fired one round from his service weapon, striking the driver in the arm. The other teenagers were not hurt.

Surveillance video from the pizza shop shows an unmarked white pickup truck pull alongside the Audi. A man in civilian clothes gets out of the truck and holds up what appears to be a badge. The Audi reverses away and the shooting occurs off camera.

Rhode Island news

A former Pawtucket, Rhode Island, police officer has been cleared of charges stemming from a 2021 shooting.

Dolan said on the stand during the trial that he thought the car, going more than 100 mph, was fleeing from police and showing a disregard for human life. He said he approached the car to have a "fatherly chat" with the occupants about dangerous driving. His lawyer said he was in "grave danger" of being run over.

"He always tried to do what he felt was right, as he’s been doing for 16 years — first as a soldier, now as a policeman," Dolan’s attorney, Michael Colucci said after the verdict.

RHODE ISLAND MAN BARRICADES SELF IN HOME, DIES IN STANDOFF WITH POLICE

Prosecutors said Dolan was standing to the side of the car, not in front, and the bullet went through the driver's side window.

The car’s driver, Dominic Vincent, who is now 20, testified that he did not know if Dolan was really a police officer and whether his badge was real.

"They let him get away," the teen's mother, Lisa Vincent, said outside.

State Attorney General Peter Neronha said he was disappointed.

CLICK HERE TO GET THE FOX NEWS APP

"The Attorney General respects our criminal justice system and accepts the jury’s verdict. He understands the family’s deep disappointment, which he shares," his office said in a statement.