An Amtrak train moves slowly by officers as they hold up a sheet covering remains after a person was fatally struck by a train near 16th St. and New York avenues in the District halting train service between Washington and Baltimore. (Jabin Botsford/The Washington Post)

A train fatally struck a person Thursday morning in a rail yard near New York Avenue in Northeast Washington, according to D.C. police and fire officials.

MARC commuter trains suspended service for about two hours, but a spokesman said service to and from Union Station resumed about 12:15 p.m., though with delays.

The incident occurred about 9:50 a.m. on tracks that run parallel to part of New York Avenue NE but are well off the road in a rail yard.

D.C. Police Lt. Sean Conboy said the person struck was pronounced dead at the scene. The person’s name was not released.

Paul Shepard, a spokesman for the Maryland Transit Administration, said it was a MARC train that hit the person.

The person was struck near the 1600 block of New York Avenue NE, near Virginia Avenue. Police said the initial call was to the 900 block of New York Avenue NE.

At least one MARC commuter train that left Union Station at 9:30 a.m. was forced to stop. It was not clear whether other rail traffic out of Union Station has been affected.

Shepard said MARC rail service is expected to return to normal by Thursday’s evening rush hour.

Just before 1 p.m., Kimberly Woods, an Amtrak spokeswoman, said it was a MARC train that “came into contact with a person who was trespassing” on the tracks.

Amtrak service was affected temporarily but was in the process of being restored — both north and south, officials said — in the early afternoon.