A driver crashed a car and flipped it into a pit at the Hatfield Township municipal sewage treatment plant early Sunday morning, police said.

The driver and passenger sustained minor injuries and were taken to area hospitals following the crash about 1:30 a.m., according to police.

The driver appears to have “mistakenly turned into the municipal authority en route to a different location,” said Cpl. Sean Scanlan of the Hatfield Township Police Department.

He said an investigation was ongoing.

The car flipped over a railing into a pit “where there was running treated water,” Scanlan said. Firefighters helped extricate at least one of the people in the car.

Police did not identify the people who were in the vehicle.