Ties between the two neighbours had been strained following the military coup that overthrew Niger's elected president Mohamed Bazoum in July 2023.