SAN FRANCISCO (KRON) — Two people are in critical condition and 25 others are displaced after a 3-alarm fire in San Francisco Friday morning, according to San Francisco Fire.

The fire broke out around 1:45 a.m. on the 400 block 23rd Ave. and spread to three buildings, according to San Francisco Fire officials.

By the time the fire reached 3 alarms, there were 96 firefighters on scene and three victims were rescued.

Two of the victims are in critical condition.

One is a 53-year-old man suffering from severe burns.

The other is a 73-year-old man suffering from smoke inhalation and other non-related medical issues.

The third victim, who is not in critical condition, has minor smoke inhalation-related injuries, according to officials.

All were transported to St. Francis Hospital.

A firefighter was also injured. The firefighter suffered a cut to the arm, but has already been released in good condition, fire officials said.

Around 3:30 a.m., officials reported the fire was contained.

Just after 4:00 a.m., it was reported “under control.”

Red Cross is on scene assisting with those displaced.

Stay with KRON4 for updates.