Audio By Carbonatix
The US and Niger have agreed that American troops will leave the country "no later" than 15 September, they announced in a joint statement on Sunday.
They said the two countries had "reached a disengagement agreement to effect the withdrawal of U.S. forces, which has already begun".
The US has relied on Niger as its primary base for monitoring regional jihadist activity.
The statement commended the "joint sacrifices of Nigerien and U.S. forces in the fight against terrorism".
The statement said the withdrawal would not affect the continuation of US-Niger relations.
"The United States and Niger are committed to ongoing diplomatic dialogue to define the future of their bilateral relations," it read.
The deal was reached after marathon talks between the two countries in Niamey.
In March, Niger announced the end of its military agreement with the US. Military spokesperson Col Amadou Abdramane accused the US of raising objections about the allies that Niger had chosen.
Col Abdramane condemned the US for its "condescending attitude" and "threat of reprisals".
Tensions spiked between the US and Niger after elected president, Mohamed Bazoum, was overthrown last year.
Niger is in Africa's Sahel region, considered the new global epicentre of the Islamic State group.
American forces have used two military bases in Niger to monitor Islamist militant groups in the Sahel.
The US built a $100m (£80m) military base there six years ago in the central city of Agadez, 750km (460 miles) north-east of Niamey.
It has played a key role in the US strategy to combat jihadists in West Africa.
The US has more than 1,000 troops stationed at the base.
It is the second Western power to withdraw from Niger.
Last year, Niger expelled former colonial power France's troops, who had also been deployed to fight jihadists.
As Niger has distanced itself from the West, it has drawn closer to Russia.
Last month, Russian military instructors arrived in Niger as part of a new agreement with its military leaders.
Niger has also broken away itself from local democracies and sought stronger regional alliances with fellow junta-led nations Burkina Faso and Mali.
The trio have quit Ecowas - the West African regional body which opposed their military takeovers.
They have also quit the French-backed G5 Sahel force, saying it was ineffectual and undermined African sovereignty, and launched their own defence pact called the Alliance of Sahel States.
Latest Stories
-
Dad unlawfully killed daughter in Texas shooting, coroner rules
2 hours -
Anas wins 7 – 0 as SC unanimously rejects attempts to reverse judgment in his favour
2 hours -
The cocoa conundrum: Why Ghana’s farmers are poor despite making the world’s best chocolate
3 hours -
Powerful cyclone kills at least 31 as it tears through Madagascar port
4 hours -
GoldBod summons 6 gold service providers over compliance exercise
4 hours -
Power disruption expected in parts of Accra West as ECG conducts maintenance
4 hours -
Police investigate alleged arson attack at Alpha Hour Church
5 hours -
Heavy Sunday downpour wrecks Denyaseman SHS, schools, communities in Bekwai Municipality
5 hours -
Ridge Hospital is in critical condition – GMTF Boss appeals to corporate Ghana
5 hours -
Introduce long term measures to tackle challenges in cocoa sector – IERPP to government
5 hours -
Agricultural Economist proposes blended financing model to support cocoa sector
6 hours -
NPP MP warns against reducing producer price as government rolls out cocoa reforms
6 hours -
Tano North MP urges halt to grain exports over food glut
6 hours -
Farmers hopeful as government moves to expedite cocoa payments
7 hours -
Tensions at Agbogbloshie market women oppose AMA drain cleaning exercise, items confiscated
7 hours
