By Natalie Duddridge

NEW YORK (CBSNewYork) — Four firefighters were injured when a ceiling collapsed on them early Tuesday morning on the Upper East Side.

The fire broke out at around 5 a.m. at a five-story building on First Avenue near 95th Street.

READ MORE: NYC Mourning NYPD Officers Wilbert Mora, Jason Rivera After Deadly Ambush In Harlem

Fire officials believe it started at a restaurant on the first floor, and the flames quickly spread to the apartments above.

Residents told CBS2 a quick-thinking superintendent banged on all the doors and got everyone out.

READ MORE: NYPD: Keber Martinez Arrested In Jacobi Hospital Shooting

Firefighters showed up in under five minutes. It took more than 160 members to put out the fire, which the FDNY said appeared to start in the rear of the restaurant.

MORE NEWS: 25-Year-Old Shot To Death In Suspected Road Rage Incident On Bronx River Parkway

Natalie Duddridge