CENTERVILLE (CBS) — A police cruiser hit and killed a pedestrian early Sunday morning, Barnstable Police said.

State Police say the man who was hit was walking down the middle of the road on the double yellow stripe and not in a crosswalk.

READ MORE: Amid Concerns Over Omicron COVID Variant, CDC Says All Vaccinated Adults Should Get Booster Shots

The crash happened on Route 28 in Centerville near Phinney Lane around 2 a.m. Sunday.

Massachusetts State Police report that the officer was responding to an emergency call. He had his lights and siren operating and a driver in front of the cruiser pulled over to the side of the highway.

READ MORE: Jake DeBrusk Requests Trade From Bruins

The officer moved to the left to go around the stopped car and that’s when he apparently hit the pedestrian.

The name of the Barnstable officer and the pedestrian have not been released. The victim was pronounced dead at the scene and the officer in the cruiser was taken to Cape Cod Hospital with injuries that were not believed to be life-threatening.

MORE NEWS: Attleboro Man Wins $1 Million On Scratch Ticket Gifted To Him After Having Heart Surgery

State and Barnstable Police are investigating the crash.