The special forces of the United States army have rescued an American citizen in an operation on Saturday in northern Nigeria, US officials said.
The kidnappers are believed to have killed several of their captors in the past.
The forces which included navy Seals rescued Philip Walton, 27, who was abducted on Tuesday from his home in neighboring southern Niger republic.
Two US officials made the revelation on condition of anonymity, adding that no US troops were hurt.
A diplomatic source in Niger said Walton was now at the US ambassador’s residence in Niamey.
“Big win for our very elite US special forces today,” Donald Trump wrote on Twitter.
The Pentagon confirmed the operation but did not provide the identity of the hostage.
Mike Pompeo, the US secretary of state, in a statement said: “The United States is committed to the safe return of all US citizens taken captive. We delivered on that commitment late last night in Nigeria, where some of our bravest and most skilled warriors rescued a US citizen after a group of armed men took him hostage across the border in Niger.
“Thanks to the extraordinary courage and capabilities of our military, the support of our intelligence professionals, and our diplomatic efforts, the hostage will be reunited with his family. We will never abandon any American taken hostage.”
Walton, who kept camels, sheep and poultry and grew mangoes near the border with Nigeria, was kidnapped by six men armed with assault rifles who arrived on motorcycles at his home in southern Niger’s Massalata village early on Tuesday.
Walton has a wife, a young daughter and brother who were left behind. The perpetrators demanded money and searched the home before leaving with him.
Niger, like much of West Africa’s Sahel region, faces a deepening security crisis as groups with links to al-Qaida and the Islamic State carry out attacks on the army and civilians, despite help from French and US forces.
Four US soldiers were killed in an ambush in Niger in 2017, sparking debate about the US role in the sparsely populated West African desert that is home to some of the world’s poorest countries.
At least six foreign hostages are being held by Islamist insurgents in Mali, Burkina Faso and Niger. Islamists have collected millions of dollars in ransom payments in recent years. The US government has frequently criticized other countries for paying.