A passenger train was stopped outside Baltimore after someone who was trespassing on the tracks came into contact with the train, an Amtrak spokesperson said Thursday.

The collision happened south of BWI Marshall Airport just before 10 p.m. Wednesday with a train that was traveling from Boston to Washington, D.C., spokeswoman Jen Flanagan said in a statement to the Associated Press.

None of the 177 passengers or crew on board was injured, the statement said. The condition of the person who came into contact with the train was not specified.

WASHINGTON DC-AREA APARTMENT BUILDING FIRE KILLS 1, DISPLACES OVER 400 RESIDENTS

Fox News Maryland Fox News

A train in Maryland stopped after it came into contact with a trespasser on the tracks.

Amtrak was working with Baltimore City Police to investigate.

CLICK HERE TO GET THE FOX NEWS APP

A tweet from Amtrak said service on the train was terminated after the collision. Passengers were transferred to another train to continue their travels.