Fire crews were mopping up late Saturday morning after a four-alarm blaze tore through a Castro District building, injuring two people.
The fire, reported at 4:32 a.m. at 456 Castro St., was contained at 10 a.m., fire officials said.
One person was taken to a burn center with serious injuries and a firefighter was taken to a hospital with minor injuries, according to the San Francisco Fire Department.
The blaze displaced 13 people living in the three-story building. The cause is under investigation.