By Tim Jimenez

TREDYFFRIN TOWNSHIP, Pa. (CBS) – A Tredyffrin Township police officer, hit by a car Friday night, is out of the hospital and police say they have the driver in custody.

READ MORE: Bucks County Group Pushes For Mask Requirement As Country Sees Rise In COVID Cases

Tredyffrin Police officer Lawrence Meoli just finished responding to a burglary alarm on Old Eagle School Road.

It was around 8 p.m. and in the area, police say Wayne resident Bennett Colesberry, III was driving in his Porsche.

READ MORE: Family Of Missing Bucks County Woman Casey Johnston Hires Private Investigator

Authorities say Officer Meoli tried to signal Colesberry to slow down. Then, according to police, Colesberry drove into the opposite lane and hit the officer.

The 26-year-veteran of the Tredyffrin police force suffered injuries to his head, arm and chest and was airlifted to the Hospital of the University of Pennsylvania.

He has since been released, and Chester County District Attorney Tom Hogan is saying it’s a miracle the officer was not killed.

MORE NEWS: 'It's Never Going To End': Loved Ones Of David Padro Jr. Voice Gun Violence Frustrations At 22-Year-Old's Vigil

As for Colesberry, police say he stayed on scene. He was arrested and faces charges of Recklessly Endangering another person, drug possession and traffic offenses.