Residents in the predominately Muslim country told the BBC they had just finished their morning prayers when explosions and gunshot sounds rang out from Diori Hamani international airport, located in the capital, Niamey.BBC reported.

Niger's defence ministry said the fatalities comprised 22 assailants, 11 soldiers, and two civilians.

On Thursday evening, Al-Qaeda affiliate Jama'at Nusrat al-Islam wal-Muslimin (JNIM) claimed responsibility for the attack.

Niger has been fighting an Islamist insurgency for a decade and in January, an organisation linked to the Islamic State group claimed responsibility for an attack on the same airport.

Thursday's violence settled by mid-morning and security forces have since launched a manhunt for any remaining attackers.