A kitchen fire at an apartment building in Portland’s East Bayside neighborhood Monday evening left the 10 to 12 people who live there temporarily homeless.

Firefighter who arrived at 52 Greenleaf St. at the intersection of Fox Street around 5:57 p.m. managed to contain the fire from spreading to adjacent multi-family apartment buildings, Portland Deputy Fire Chief Shawn Neat said Monday night.

The first to arrive at the burning three-family home could see flames coming from a window on the building’s south side, Neat said.

Firefighters used three ladder trucks to reach the fire, which started in the second-floor kitchen and had spread to the third floor.

Neat said the second and third floors were heavily damaged by smoke and are not habitable now but can be repaired.

All residents were able to escape unharmed, and no firefighters were hurt battling the fire. The building had many working smoke alarms, Neat said.