City fire officials told 11 News that the flames broke out just before 4 p.m. at a home in the 1600 block of Locust Street and spread to four homes before crews got them under control.

About 80 firefighters were called to the scene and were able to put the blaze out in less than an hour. Anne Arundel County fire crews joined in to help, and witnesses said neighbors also did their part.

"I saw flames coming out of the door and the windows, and my neighbor kicked in the door to make sure there were no kids in the house that caught on fire. Then everybody was calling 911," said witness Darlene Taylor.

The injured firefighters were taken to Shock Trauma, where officials said their injuries were not life-threatening. They were later released.

The house had working smoke detectors.

The cause of the blaze remains under investigation.

Red Cross and Baltimore Housing officials are helping the people displaced from the four houses affected.

Photos: Fire destroys south Baltimore homes

1 of 19

Two firefighters are recovering from injuries they suffered while battling a house fire in south Baltimore on Sunday.