PHOTOS: Firefighters contain apartment fire in Richmond district

Firefighters put out an apartment fire in San Francisco's Inner Richmond district Sunday morning, a fire official said.

Click on the photo at right to see a slideshow of the fire aftermath.

The fire department received reports of the blaze in the three-story building on the corner of 3rd Avenue and Clement Street moments before 8 a.m., Assistant Chief Mike Morris said.

The fire badly burned a third-floor apartment whose two inhabitants fled the unit Sunday morning. Residents of four other units in the building also evacuated after a fire alarm sounded.

Both residents of the unit on fire suffered minor injuries such as smoke inhalation, Morris said.

When firefighters arrived on the scene, flames poured out of a third-story window facing Clement Street.

Firefighters attacked the blaze from below and from the building's roof, ventilating the unit to allow flames and smoke to rise out of the building without doing further damage.

“Good aggressive firefighting kept the losses to a minimum,” Morris said.

The blaze appears to have been accidental and fire personnel are investigating the cause, he said.

What does it take to build a skyscraper in S.F.?

Engineering to protect against earthquakes, wind vortexes and, of course, sinking

I voted for Barry Bonds to get into the Hall of Fame. Here’s why it didn’t matter

Giants star falls short in his 10th and final season of standard eligibility

San Francisco’s universal health care may soon become redundant

‘Why should The City pay for health care if their residents can get it from the state?’