CENTERVILLE — A male walking in the middle of Route 28 was struck and killed early Sunday morning by a Barnstable police cruiser en route to a call, according to the Massachusetts State Police.

Neither the name of the pedestrian nor the officer involved was released Sunday.

The crash occurred at around 2 a.m. on Route 28 between Phinney’s Lane and West Main Street, said Barnstable police Sgt. Jason Laber. The state police said the crash happened in the area of 1358 Falmouth Road.

The driver of the police cruiser, a 2016 Ford Police Interceptor sport-utility vehicle, was on southbound Route 28 approaching Cottage Lane headed in the direction of Hyannis, according to a statement from David Procopio, spokesman for the Massachusetts State Police. The car's emergency lights and sirens were activated.

At the same time, the pedestrian was walking northbound on Falmouth Road in the direction of Phinney's Lane on the double yellow line in the center of the road, according to the statement. As the cruiser continued south, it passed a vehicle that had pulled to the right to yield to the police officer.

As the cruiser passed the other vehicle on the left, its right front side struck the pedestrian, the release states.

The pedestrian was pronounced dead on the scene, according to the release. The driver of the police cruiser was brought to Cape Cod Hospital with minor injuries, Laber said.

The road between Phinney’s Lane and West Main Street was temporarily closed during the investigation. By midmorning, the only sign of the incident was a pile of discarded yellow police caution tape left by the road. The crash is being investigated by Massachusetts State Police and Barnstable police, Laber said.

The state police sent troopers from the Collision Analysis and Reconstruction Section and Crime Scene Services Section to assist in the investigation, according to Procopio's statement. The cruiser was towed to a secure facility to be examined.

Procopio said the crash reconstruction will take several weeks to complete. He added that the state police is not the primary investigating agency but is assisting the Barnstable Police Department in its investigation.

Barnstable Police Chief Paul MacDonald confirmed his department will handle the investigation, but declined to release more information.

— Staff writers Jason Savio and Geoff Spillane contributed to this report. Follow Sean F. Driscoll on Twitter: @seanfdriscoll.