Pakistani rescue workers remove the body of a woman from the debris of a collapsed building in Lahore on February 7, 2012. (Arif Ali/AFP/Getty Images)

ISLAMABAD — Rescue workers on Tuesday pulled a 65-year-old woman out alive after she was trapped for 31 hours in the rubble of a collapsed factory in an eastern Pakistan city, as the death toll from the accident rose to 18.

The three-story factory manufactured medicine and collapsed Monday after several gas cylinders inside exploded. It had been set up illegally in a residential area of Lahore and continued operations even though the government tried to shut it down three times, officials said.

Rescue workers on Tuesday heard 65-year-old Saleha Bibi screaming for help, and it took them several hours to pull her out from the jagged pile of concrete blocks, said Rizwan Naseer, head of the state-run rescue service in Punjab province, of which Lahore is the capital.

Bibi said she hid underneath a machine when the roof of the room where she was working started to cave in.

"Allah saved me," she said in an interview with the private Geo TV channel. "I was praying to Allah the whole night."

The woman appeared exhausted but otherwise unharmed as the workers pulled her free, according to local TV footage. She drank from a bottle of water and took a deep breath before being led away from the site.

She was the 15th person to be saved and told the rescuers there were others who were still trapped alive, said Naseer.

Around 30 people are still believed to be under the rubble, said another rescue official, Asad Ahmad. Workers have retrieved 18 dead bodies so far, he said.

-

Close



of





Pakistani rescue workers carry a dead body recovered from the debris of a collapsed building in Lahore, Pakistan, Tuesday, Feb. 7, 2012. A factory, which manufactured medicine, caved in Monday in the city of Lahore after several gas cylinders inside exploded. Government officials say the factory was built illegally in a residential area of Lahore. A rescue official says the death toll has risen to 18 with more than 30 people still believed to be under the debris. (AP Photo/K.M. Chaudary)

Pakistani relatives mourn in front of a coffin of a victim of a building collapse during a funeral in Lahore on February 7, 2012. (Arif Ali/AFP/Getty Images)

Pakistani rescue workers carry an elderly survivor on a stretcher during a continued search for victims from the debris of a collapsed building in Lahore on February 7, 2012. (Arif Ali/AFP/Getty Images)

Pakistani rescue workers carry an elderly survivor on a stretcher during continued search for victims from the debris of a collapsed building in Lahore on February 7, 2012. (Arif Ali/AFP/Getty Images)

Pakistani rescue workers continue their search for victims from the debris of a collapsed building in Lahore on February 7, 2012. (Arif Ali/AFP/Getty Images)

Pakistani rescue workers continue their search for victims from the debris of a collapsed building in Lahore on February 7, 2012. (Arif Ali/AFP/Getty Images)

Pakistani rescue workers continue their search for victims from the debris of a collapsed building in Lahore on February 7, 2012. (Arif Ali/AFP/Getty Images)

Pakistani rescue workers remove the body of a woman from the debris of a collapsed building in Lahore on February 7, 2012. (Arif Ali/AFP/Getty Images)

Pakistani rescue workers remove the body of a woman from the debris of a collapsed building in Lahore on February 7, 2012. (Arif Ali/AFP/Getty Images)

Pakistani rescue workers remove the body of a woman from the debris of a collapsed building in Lahore on February 7, 2012. (Arif Ali/AFP/Getty Images)