Officials were trying to determine Monday how a driver managed to slam a 12-foot-high bus into a 7-foot-high overpass, injuring more than 40 students and chaperones aboard as they returned from a trip to Europe.

The crash Sunday night on the Southern State Parkway injured two people seriously. Five people suffered moderate injuries and the remainder were treated at local hospitals for cuts and bruises and released, according to New York State Police. Forty-four people were on the bus when it crashed. The accident occurred on the eastbound side of the parkway at Exit 18 – Eagle Avenue in Lakeview — at about 9:30 p.m., according to police. The parkway was shut down in both directions near the scene after the crash, but has since reopened.

Photos from the scene show the roof of the bus sheared off. The 58-passenger vehicle is owned by New Jersey-based Journey Bus Lines. Buses are not permitted on the Long Island parkway.

Carrying students from multiple high schools, the bus was bound for the Walt Whitman Shops mall in Huntington Station. The students boarded the bus at JFK Airport after returning from a spring break trip to eastern Europe, police said.