MILLBRAE (CBS SF) — A San Mateo County Sheriff’s Office deputy was treated for smoke inhalation injuries after helping rescue residents from a three-alarm fire at an apartment complex in Millbrae on Monday afternoon.

The fire was first reported at 12:36 p.m. at 1007 Hemlock Ave., sheriff’s officials said. Deputy Edgar Manilla helped a resident and her two children escape the blaze and then got two elderly residents out of their residence.

READ MORE: UPDATE: Dramatic Video Of Injured Motorist Being Rescued From Fiery San Jose Freeway Crash

Manilla stayed at the scene to help, but was eventually transported to Mills Peninsula Hospital. He is assigned to the Millbrae Police Bureau.

READ MORE: 2 Arrested In Shooting, Attempted Robbery Of Photographer In San Francisco's Mission District

Sheriff’s officials said all the residents of the apartment complex were displaced and receiving assistance from the American Red Cross.

MORE NEWS: One Dead, 3 Injured In Horrific Richmond I-80 Chain Reaction Crash

The Central County Fire Department received help from the San Bruno and South San Francisco fire departments in extinguishing the blaze. The cause of the fire is under investigation.