SAN JOSE (CBS SF) — A firefighter suffered a minor injury in a three-alarm fire early Sunday morning in San Jose that displaced 37 people and a cat, a San Jose Fire Department captain said.

The first call to report the fire came in at 3:29 a.m. at an apartment building of 22 units at 5583 Walnut Blossom Drive, Capt. Mitch Matlow and a dispatcher said.

READ MORE: Popular Safari Park Stripped Of Accreditation

No civilians were injured, Matlow said.

Firefighters called for a second alarm at 3:41 a.m. when flames as high as 50 feet were coming from the roof of the two-story building, Matlow said.

READ MORE: UPDATE: Estrada Fire Sparked by Cal Fire Controlled Burn Near Watsonville Now 10% Contained

The roof collapsed above four units on the top floor before firefighters called for a third alarm, Matlow said. As many as 52 firefighters were trying to extinguish the blaze after three alarms were called, he said.

Eight units were heavily damaged and two sustained moderate damage, but 11 might be reoccupied this evening, he said.

Crews had the fire knocked down at 4:40 a.m. and it was under control at 6:59 a.m., he said.

MORE NEWS: State Health Officials Urge Vaccinations as Flu Season Begins in Earnest

The American Red Cross responded to help the displaced residents, Matlow said.

San Jose Apartments Fire