Service on the Long Island Rail Road was temporarily halted last night when two trains collided into each other near the Jamaica station platform, according to authorities. There were no injuries, though some passengers were trapped onboard for nearly two hours.

The incident occurred at around 6:30 p.m., as a westbound train approached Jamaica Station from Montauk while an eastbound train departed Jamaica Station. The trains sideswiped each other and smashed their windows. "When trains pass, they pass all the time and it's so close and you don't think anything of it, but this one, it started to come by and then boom! It was like a car accident," a passenger told ABC 7.

You can see some photos and video of the incident below:

New York's finest helping passengers from the derailed train to the rescue train. #lirr

A photo posted by Jim Hobart (@jimhobart) on

The trains were evacuated, but it took nearly two hours for all the passengers to get off the trains. Westbound service was suspended until around 8:30 p.m., but delays persisted into the night. Eastbound service was delayed significantly as well.

Officials are currently investigating the cause of the collision.