STOCKTON (CBS13) – Two firefighters were injured in a massive five-alarm fire in Stockton that forced nearby homes to evacuate.

Crews were called to a mattress fire in the area of Union and Flora streets just after 9 p.m. Thursday night.

READ MORE: Fatal Crash Blocks Lanes Of Highway 50 In West Sacramento

Investigators say firefighters faced heavy flames when they arrived.

About 400 mattresses were on fire in an open space about 100×100 feet large. The winds spread the flames to a warehouse and several nearby homes, including one home a block away from the scene.

Crews escalated the response to five-alarms, which brought 50 firefighters to the scene.

READ MORE: Oakland Continues Seattle's Slide With 4-2 Win Over Mariners

Neighbors grabbed a hose to keep the fire from spreading. About five to seven homes were damaged in the fire, authorities say.

Investigators are still looking into what sparked the fire.

Two firefighters were injured and rushed to the hospital. They are expected to be okay.

No residents were hurt.

MORE NEWS: Longoria, Giants Tee Off On Mets Rookie Szapucki In 9-3 Rout

The Red Cross is helping those who were displaced.