DHAKA, Bangladesh (CNN) -- For many days, rescue workers plowing through the site of last month's building collapse in Bangladesh had the grim task of pulling out body after body.
On Friday, as the recovery operation wound down, they found a survivor. Crews digging through the rubble heard a woman's voice pleading for help.
"I'm alive," she said, according to Capt. Ibrahim Islam, a Bangladeshi military official outside the site of the recovery operation. "Please rescue me."
They extracted the woman in an hourlong operation, an army official said.
Crowds converged to watch and pray at the grim site as she chatted with rescuers who rushed her to a hospital.
Her name is Reshma. And she's one of the more than 2,400 people pulled out of the rubble alive.
The discovery comes more than two weeks after a building in a Bangladesh complex, housing factories full of garment workers, caved in, South Asia's deadliest industrial disaster.
Rescue and recovery workers searched through the nine-story building's tangled wreckage in Savar, a suburb of the capital, Dhaka. During the first several days of dangerous and painstaking work, crews rescued a couple thousand people.
But since then, they haven't found any more survivors -- until Friday when Reshma was spotted.
As more bodies were recovered Friday, the total number of people confirmed dead rose to 1,039, said Maj. Zihadul Islam, a fire service official.
The past 11 days have focused on the grim task of retrieving dead bodies still buried in the heap of broken concrete, many of them so severely decomposed that authorities struggle to identify them.
"We are near the end," Ibrahim Islam said.
The owners of the building and the factories are under investigation over accusations they ordered workers to enter the premises on the day of the collapse despite cracks in the structure the day before.
Lax safety standards
The Bangladeshi government has faced criticism for failing to improve the lax safety standards in the country's thousands of garment factories, where millions of people work.
The Savar building collapse happened five months after a fire at a garment factory near Dhaka killed more than 100 people. And on Wednesday, eight people died in a fire at another factory in the Dhaka area.
The European Union has threatened to take trade action against Bangladesh if it doesn't take concrete steps to improve health and safety conditions for workers.
Western retailers and clothing brands that source their products from Bangladeshi factories are also under pressure to subject their supply chains to greater scrutiny.
The grim search for bodies
At the site of the building collapse in Savar, the salvage operation is in its final stage. Cranes and bulldozers are clearing the rubble and uncovering the remaining bodies, the national news agency Bangladesh Sangbad Sangstha (BSS) reported Thursday.
The smell of death continues to permeate the surrounding area, prompting people passing by on a nearby highway to cover their noses, BSS said. Recovery workers combing the debris have had to resort to using face masks and cans of air freshener to try to block out the stench.
Hundreds of people looking for their missing relatives are still waiting by the grounds of a nearby school where retrieved bodies are first taken for an initial attempt at identification. But the decomposed state of the bodies often means they are unrecognizable.
Authorities have resorted to sending some of the remains to a Dhaka hospital for DNA tests, BSS reported. The bodies are then buried unidentified pending the results of the DNA tests.AlertMe