SAN FRANCISCO (KRON) – A three-alarm fire in San Francisco’s West Portal neighborhood has been contained. Earlier, authorities had told people to avoid the area of West Portal and 14th Avenues.

Emergency crews were on the scene. The fire impacted six addresses and three buildings, according to the San Francisco Fire Department. One impacted building suffered a partial collapse.

The SFPD is evacuating the 300 block of West Portal with temporary shelter being offered at 15th and West Portal. One firefighter has sustained minor injuries.

It was a roof fire, according to the San Francisco Fire Department, and it generating a lot of smoke. Originally reported as a one-alarm fire, the fire was upgraded to a two-alarm, and then a three-alarm fire, midday Monday.

The fire caused a building at 309 West Portal Avenue to partially collapse, the department stated. The fire was sparked accidentally by construction at about 11:35 a.m.

Bay City News contributed to this report.