Four firefighters are being treated for injuries as crews continue to battle a six-alarm fire in a Foster City apartment complex Sunday.

Units with the San Mateo Consolidated Fire Department were dispatched after a fire was reported at 815 Sea Spray Lane just after 2:30 p.m.

According to police just before 7 p.m., fire crews were in defensive mode, fighting the blaze from the exterior.

Police said all residents were safely evacuated and that the Red Cross is assisting them.

According to police, four firefighters suffered minor injuries during operations. One suffered burns and two experienced smoke inhalation, with two of those firefighters being transported to a local hospital for treatment.

Operations are expected to continue for several hours.

Thick, heavy smoke is still in the area and those living nearby are advised to keep their windows and doors closed, the Foster City Police Department said. All others are asked to avoid the area.

The cause of the fire remains under investigation.

Katy St. Clair got her start in journalism by working in the classifieds department at the East Bay Express during the height of alt weeklies, then sweet talked her way into becoming staff writer, submissions editor, and music editor. She has been a columnist in the East Bay Express, SF Weekly, and the San Francisco Examiner. Starting in 2015, she begrudgingly scaled the inverted pyramid at dailies such as the Vallejo Times-Herald, The Vacaville Reporter, and the Daily Republic. She has her own independent news site and blog that covers the delightfully dysfunctional town of Vallejo, California, where she also collaborates with the investigative team at Open Vallejo. A passionate advocate for people with developmental disabilities, she serves on both the Board of the Arc of Solano and the Arc of California. She lives in Vallejo.