A firefighter was seriously injured Sunday afternoon while responding to a car crash in Manhattan, the FDNY said.

According to the FDNY, the incident happened after 3:15 p.m. while firefighters were trying to stabilize vehicles involved in a two-car crash at W. 42nd Street and 11th Avenue. 

The FDNY said the two cars, a BMW and a Volvo, were on top of each other. 

As firefighters were attempting to “brace" the car on top and remove the people inside, "the driver of one of the vehicles hit the gas and caused the car to fall and pin firefighter Ryan Warnock below,” Acting Fire Commissioner Laura Kavanagh said in a statement. 

Warnock was brought to Bellevue Hospital in serious but stable condition and is being treated for injuries to his leg, according to the FDNY.