SAN FRANCISCO (CBS SF) — One person suffered moderate smoke inhalation and three people were displaced in a two-alarm structure fire Thursday evening in San Francisco’s Tenderloin neighborhood, fire officials said.

The fire was reported at 7:18 p.m. in a five-story residential building at 545 O’Farrell St.

READ MORE: Downsized But Not Out, Dreamforce Conference Set to Boost Business in San Francisco

Some residents were evacuated and others sheltered in place.

Firefighters contained the fire after rescuing the injured person.

Fire officials said the fire affected three units of the building.

READ MORE: Emmy Awards: 'The Crown' Dominates with Seven Wins

The cause of the blaze is under investigation.

© Copyright 2017 by CBS San Francisco and Bay City News. All rights reserved. This material may not be published, broadcast, rewritten or redistributed