CHICAGO -- A fire broke out early at a South Side apartment building -- leaving two people injured, including a Chicago police officer.

The fire started shortly after 5 a.m. Thursday in the second-floor of an apartment at 650 E. 79th Street in the city's Chatham neighborhood.

"When I opened the door all the smoke came in and I couldn't see anything. And I didn't have a way to get out. So I said that I was just going to jump out the window," said Cheryl Stewart who lives in the building. Firefighters arrived and helped her safely out of the burning building.

Someone who lived in that apartment was taken to the hospital for smoke inhalation.

The officer was slightly injured and suffered minor smoke issues while helping residents get out of the building. He was part of the CPD squad that happened to be in the neighborhood when the fire started. The officers helped get people to safety.

There was a close call for fire crews when there was a collapse between the second and the third floor. Firefighters were evacuated as a precaution. None of them were hurt.

Twelve residents were displaced as a result of the fire.

The CFD office of fire investigation (OFI) reported a preliminary finding of accidental electrical as cause of fire.

The Cfd office of fire investigation (OFI) reported a preliminary finding of accidental electrical as cause of fire on 79 street and origin is second floor.