MOGADISHU—U.S. special operations forces swooped into Somalia on Wednesday and rescued two hostage aid workers after killing their nine kidnappers, a rare and daring raid in the Horn of Africa nation to free foreign captives.

American Jessica Buchanan, 32, and Poul Hagen Thisted, 60, of Denmark, humanitarian aid workers for a Danish demining group, were rescued three months after they were kidnapped on Oct. 25 in the town of Galkayo in the semi-autonomous Galmudug region of the Horn of Africa country.

“The United States will not tolerate the abduction of our people and will spare no effort to secure the safety of our citizens and to bring their captors to justice,” Obama said in a statement.

The rescue was carried out by forces that included members of the same elite Navy SEAL unit that killed Al Qaeda leader Osama bin Laden last year in a raid on his compound in Pakistan, a U.S. official told Reuters on condition of anonymity.

Other U.S. military services formed part of the assault team, and it was not clear that any of the same SEALs were involved in both the Somalia and bin Laden raids even if they came from the same unit, known as SEAL Team Six.

Members of the unit parachuted into a location near the town of Gadaado in central Somalia and then hiked to the encampment where the two foreign hostages were being held by their nine abductors, a U.S. official said on condition of anonymity.

The raiding party arrived prepared to detain the kidnappers but was not able to do that and all nine were killed, Pentagon officials said. The kidnappers were heavily armed and had explosives nearby, they said. None of the U.S. forces were hurt.

Obama authorized the raid on Monday and military commanders gave the final go-ahead on Tuesday, Pentagon officials said.

They said a confluence of factors, from the health of the hostages to the available intelligence and operational conditions, gave Obama a window of opportunity to act and prompted Washington to move ahead with the raid.

Buchanan was suffering from a possible kidney infection, according to people involved with the hostages. New evidence obtained last week suggested her health was deteriorating, said Pentagon officials, who would not elaborate on her condition.

“We’re confident that there was enough of a sense of urgency, there was enough actionable intelligence to take the action that we did, for the president to make the decision that he did,” said Navy Captain John Kirby, a Pentagon spokesman.

Buchanan and Thisted were flown to neighbouring Djibouti, home to the only U.S. military base in Africa and France’s largest base on the continent, a U.S. official said on condition of anonymity. They were under the care of U.S. military doctors, officials said.

Obama was overheard congratulating Panetta on the success of the operation as the president entered the U.S. House of Representatives chamber on Tuesday for his annual State of the Union speech.

Panetta had been at the White House before the speech and had been monitoring the progress of the operation. The raid was still being wrapped up when the president spoke to him.

“Leon. Good job tonight. Good job tonight,” Obama said.

The Pentagon said there were no known links between the kidnappers and Islamic militant groups in the region. Kirby said the U.S. military had no evidence to connect them to piracy.

But Obama called them “criminals and pirates” in his statement, as did local officials.

Loading... Loading... Loading... Loading... Loading... Loading...

“About 12 U.S. helicopters are now at Galkayo. We thank the United States. Pirates have spoilt the whole region’s peace and ethics. They are mafia,” Mohamed Ahmed Alim, leader of the Galmudug region, told Reuters.

He was speaking from Hobyo, a pirate base north of Haradheere, where he said he was negotiating the release of an American journalist seized on Saturday, also from Galkayo.

Somali pirate gangs typically seize ships in the Indian Ocean and Gulf of Aden and hold the crews until they receive a ransom. The kidnapping of the aid workers in Galkayo would be an unusual case of a pirate gang being behind a seizure on land.

U.S. and French forces have intervened to rescue pirate hostages at sea, but attacks on pirate bases are rare.

Pirates and local elders say the American journalist and a number of sailors from India, South Korea, the Philippines and Denmark are being held by pirate gangs.

A British tourist kidnapped from Kenya on Sept. 11, 2011 is also still held captive in Somalia.

Somalia’s government applauded the mission and said it welcomed any operation against pirates.

U.S. special forces killed senior Al Qaeda militant Saleh Ali Saleh Nabhan in a raid in southern Somalia in 2009. Several other Al Qaeda or al Shabaab officials have been killed in U.S. drone strikes in Somalia over the past few years.

Panetta visited U.S. troops in Djibouti last month on his way to Afghanistan and Iraq, in a stopover that reflected Obama’s growing focus on the militant and piracy threats from Yemen and the eastern edge of Africa.

In Djibouti, the United States has a platform to monitor Al Qaeda in the Arabian Peninsula in Yemen and Somalia’s al Shabaab, a hardline rebel group with links to Al Qaeda.

Read more about: