A train carrying hazardous materials derailed outside of Philadelphia, leading to homes near the area being evacuated.

The 40-car CSX Norfolk Southern freight train derailed before 5 a.m. Monday in Montgomery County, Pennsylvania.

Emergency crews responded swiftly to the incident in the area of Whitemarsh Township.

According to a Fox 29 report, between 15 and 20 of the derailed train cars were carrying hazardous materials, prompting a Level 2 hazmat response just outside Philadelphia.

As The New York Post reported:

Officials evacuated houses and businesses in the area of the derailment as a precaution early Monday, saying there was no known hazard to the public at this time.

Photos of the derailment show multiple cars toppled off the tracks, which appear to be bent.

“Precautionary evacuations have occurred at the residents and businesses closest to the scene. It is not believed that further evacuations will be needed, but we will evaluate as we know more,” Whitemarsh Township police said in a Facebook post.

Officials from Norfolk Southern, CSX, and the Montgomery County Department of Public Safety’s Emergency Response Team were on the scene.

There are no known injuries at this time, according to officials.

Joshua Road was closed between Flourtown Road and Stenton Avenue, police said.