A portion of a freight train transporting trash from Oak Point Yard in the Bronx borough of New York City to a location upstate, derailed on Thursday night, prompting authorities to shut down Metro-North's service on a portion of the Hudson line, NBC New York reported.

Ten cars of a CSX freight train derailed at around 8:40 p.m. EDT near the Spuyten Duyvil station, NBC reported, citing a Metro-North official.

The Metropolitan Transportation Authority, or MTA, suspended the Hudson line between the Marble Hill and Spuyten Duyvil stations, but no trains were stranded between stations due to the closure. The train's crew of three -- including the engineer, guard and conductor -- were unharmed.

“Hudson Line Service will remain suspended until further notice due to a freight train derailment in the vicinity of Spuyten Duyvil station,” an MTA alert said. “For the remainder of the evening, bus service will operate between Marble Hill and Ludlow Stations, where customers will be able to connect with shuttle train service.”

"Customers are urged to use the Harlem Line for points of travel north and south. Hudson Line tickets will be honored on the Harlem Line and Metro-North Hudson Line parking permits will be honored at Harlem Line parking facilities operated by LAZ."

A Metro-North official said service is not expected to be restored before the Friday morning rush, and urged passengers to check the MTA's website in the morning for more information.

CSX and Metro-North are evaluating how long it would take to clear the derailed train cars and to reopen the tracks.