Last Updated 4:18 p.m. ET
AIN AMENAS, Algeria Algerian special forces stormed a natural gas complex in the middle of the Sahara desert on Saturday in a "final assault" that ended a four-day-old hostage crisis, according to the state news agency and two foreign governments.
The Algerian government says 32 militants and 23 captives were killed during a three-day military operation to end the hostage crisis.
The provisional death toll was issued by the Interior Ministry on Saturday after the special forces operation crushed the last holdout of militants at the gas refinery, resulting in 11 extremists killed along with seven hostages.
A total of 685 Algerian and 107 foreigner workers were freed over the course of the standoff, which began on Wednesday, the statement added.
The military also confiscated machine guns, rocket launchers, missiles and grenades attached to suicide belts.
The ministry added that the militants involved consisted of 32 men of various nationalities, including three Algerians.
An earlier report said the army was forced to intervene Saturday after a fire broke out in the plant, and said the militants killed the hostages. It wasn't immediately possible to verify who killed the captives.
The report, quoting a security source, also didn't give the nationalities of the dead.
The Ain Amenas plant is jointly run by BP, Norway's Statoil and Algeria's state-owned oil company. The governments of Norway and Britain said they received confirmation the siege was over.
The entire refinery was mined with explosives and set to blow up, the Algerian state oil company Sonatrach said in a statement, adding that the process of clearing the explosives had begun. The Algerian media reported that the militants had planned to blow up the complex.
The siege transfixed the world after radical Islamists linked to al Qaeda stormed the complex, which contained hundreds of plant workers from all over the world.
Algeria's response to the crisis was typical of the country's history in confronting terrorists military action over negotiation and caused an international outcry from countries worried about their citizens. Algerian military forces twice assaulted the areas where the hostages were being held with minimal apparent negotiation first on Thursday and then on Saturday.
The latest deaths bring the official Algerian tally of dead to 19 hostages and 29 militants, although reports on the number of dead, injured and freed have been contradictory throughout the crisis. Militants originally said they had seized 41 foreign hostages.
The al Qaeda-linked militants attacked the plant Wednesday morning. They crept across the border from Libya, 60 miles (100 kilometers) away, and fell on a pair of buses taking foreign workers to the airport. The buses' military escort drove off the attackers in a blaze of gunfire that sent bullets zinging over the heads of crouching workers. A Briton and an Algerian probably a security guard were killed.
Frustrated, the militants turned to the vast gas complex, divided between the workers' living quarters and the refinery itself, and seized hostages, the Algerian government said. The gas flowing to the site was cut off.
On Thursday, Algerian helicopters opened fire on a convoy carrying both kidnappers and their hostages, resulting in many deaths, according to witnesses.
In their final communications, the militants said they were holding seven hostages: three Belgian, two Americans, a Japanese and a Briton. They had threatened to kill them if the Algerian army attacked.
Algerian authorities estimated that about 30 militants occupied the Ain Amenas site Wednesday and with 18 already reported dead, it appeared Saturday that the hostage crisis was finally over.
The standoff has put the spotlight on al Qaeda-linked groups that roam remote areas of the Sahara, threatening vital infrastructure and energy interests. The militants initially said their operation was intended to stop a French attack on Islamist militants in neighboring Mali though they later said it was two months in the planning, long before the French intervention.
The accounts of hostages who escaped the complex highlight the cavalier attitude toward their lives taken by both kidnappers and the military.
Ruben Andrada, 49, a Filipino civil engineer who works as one of the project management staff for the Japanese company JGC Corp., described how Algerian helicopter gunships had earlier opened fire on vehicles carrying hostages and the gunmen who used them as shields.
On Thursday, about 35 hostages guarded by 15 militants were loaded into seven SUVs in a convoy to move them from the housing complex to the refinery, Andrada said. The militants placed "an explosive cord" around their necks and were told it would detonate if they tried to run away, he said.
"When we left the compound, there was shooting all around," Andrada said, describing the helicopters' attack. "I closed my eyes. We were going around in the desert. To me, I left it all to fate."
Andrada said when the vehicle he was in overturned, some of the passengers were able to escape. He sustained cuts and bruises and was grazed by a bullet on his right elbow. He later saw the blasted remains of other vehicles, and the severed leg of one of the gunmen.
The site of the gas plant spreads out over several acres and includes a housing complex and the processing site, about a mile apart, making it especially complicated for the Algerians to secure the site and likely contributed to the lengthy standoff.
"It's a big and complex site. It's a huge place with a lot of people there and a lot of hiding places for hostages and terrorists," said Col. Richard Kemp, a retired commander of British forces who had dealt with hostage rescues in Iraq and Afghanistan. "These are experienced terrorists holding the hostages."
Casualty figures varied widely. The Algerian government now says 19 hostages and 29 militants have died since Thursday. Before the final assault, the militants claimed through the Mauritanian website ANI that the helicopter attack alone killed 35 hostages and 15 militants.
One American, from Texas, is among the dead, and the militants offered to trade two other American hostages for two terrorists behind bars in the U.S., an offer firmly rejected by Washington. At least one Briton, a Frenchman and Algerians have also died in the standoff. Escaped Algerian workers describe seeing people of many nationalities, including Japanese, shot down.
French Defense Minister Jean-Yves Le Drian said Saturday that there are believed to be no more French hostages in the gas complex. He said the Frenchman killed, Yann Desjeux, was a former member of the French Special Forces and part of the security team. The remaining three French nationals who were at the plant are now free, the Foreign Ministry said.
Britain's Foreign Secretary William Hague confirmed that as of Saturday, there were "fewer than 10" British nationals still at risk or unaccounted for and "the majority of" Britons at the plant were now safe, he said.
Statoil CEO Helge Lund said Saturday that there were only six Norwegians unaccounted for, from the 17 at the plant at the time of the attack.
Romanian Prime Minister Victor Ponta said Saturday one Romanian hostage was killed in the course of the siege, while four escaped unharmed.
The attack by the Mali-based Masked Brigade had been in the works for two months, a member of the brigade told the online Mauritanian news outlet. He said militants targeted Algeria because they expected the country to support the international effort to root out extremists in neighboring Mali and it was carried out by a special commando unit, "Those Who Signed in Blood," tasked with attacking nations supporting intervention in Mali.
The kidnappers focused on the foreign workers, largely leaving alone the hundreds of Algerian workers who were briefly held hostage before being released or escaping.
Several of them arrived haggard-looking on a late-night flight into Algiers on Friday and described how the militants stormed the living quarters and immediately separated out the foreigners.
Mohamed, a 37-year-old nurse who like the others wouldn't allow his last names to be used for fear of trouble for himself or his family, said at least five people were shot to death, their bodies still in front of the infirmary when he left Thursday night.
Chabane, who worked in food services, said he bolted out the window and was hiding when he heard the militants speaking among themselves with Libyan, Egyptian and Tunisian accents. At one point, he said, they caught a Briton.
"They threatened him until he called out in English to his friends, telling them, 'Come out, come out. They're not going to kill you. They're looking for the Americans,'" Chabane said.
"A few minutes later, they blew him away."