A woman in Pennsylvania tossed a baby and a toddler from a second-floor window in an attempt to escape a house fire.

The fire broke out Sunday night at a residence in Ambridge, trapping six members of the family inside the house.

Shannee Stanley, who was not home at the time, said she rushed back when she heard her family was trapped in the house fire. She stated her 13-year-old daughter, Makayla, was inside a bedroom on the third floor and had to break a window to escape the flames.

"My daughter was trapped on the third floor for a while," Stanley told CBS News. "And she ended up breaking the window with her hands and sliding out the window."

Makayla managed to reach the roof before Ambridge Fire Lt. Brian Brown safely brought her down.

"She wasn't saying anything," Brown said. "She was scared."

Stanley's father and her 9-year-old daughter, Miranda, were able to escape through the front door. However, her mother Shelley got trapped inside the house with her foster kids, aged 1 and 3, she told the outlet.

Shelley reportedly tossed the two kids out of a second-floor bedroom window to save them, before escaping the fumes herself. Two good samaritans, who rushed to help the family, managed to catch the two young boys.

"(My mom) started screaming out the window, and she said two young boys came and if it wasn't for them she doesn't know what she would do," Stanley added.

The mother broke her back and wrist as she tried to climb down a ladder before being rushed to the hospital. "She has a lot of burns, her hair was burned," Stanley said.

Ambridge Firefighters responded to a structure fire last night in the 800 block of 11th St. Initial dispatch reports stated that there were multiple people trapped. The duty crew (A-Shift) consisting...

Makayla suffered cuts and burns to her hands, arms, legs and feet and was taken to the hospital for medical attention.

Miranda, the 1-year-old and the 3-year-old toddler were treated for injuries and were released from the hospital.

"Thank you guys so much, I appreciate everyone," Stanley said.

"Thank god all four kids are out alive," assistant fire chief Dave Garecki said.

Neighbors recounted witnessing some of the kids hanging out of a window on the top floor after the fire broke out.

Meanwhile, the fire left the house with smoke damage and destroyed all the family's belongings, firefighters said. They expressed hope that the community will step forward and help them out with donations.

The cause of the fire is being investigated.

"The fire was held to one alarm," Ambridge Firefighters wrote on Facebook. "The fire was contained to a small portion of the basement and the first-floor hallway and kitchen. We cannot thank everyone enough for the outstanding job done."

Representational image (house fire)
Representational image (Source: Pixabay / ID 12019)