Niamey: Thirty soldiers from Niger and two from Nigeria were killed in a Boko Haram attack by "hundreds of assailants" on Friday on the southeastern town of Bosso close to the border with Nigeria, the Niger defence ministry said on Saturday.
"The counter-offensive conducted early this morning helped to retake control of all the positions in the city of Bosso.
The situation is under control", the ministry added."A sweep is ongoing in the area with the mobilisation of all land and air means".
Seven others from Niger and eight from Nigeria were injured in the attack, according to the ministry, which reported "several deaths" among the assailants.
Bosso is part of the Diffa region, which is home to many refugees and internally displaced people who have sought to avoid Boko Haram violence elsewhere.
The region has been targeted numerous times in attacks blamed on the militants.
Six people were killed last month in the village of Yebi, 4 km (2.5 miles) from Bosso, in an attack thought to have been carried out by Boko Haram.
The group, headquartered across the border in northeastern Nigeria, wants to create an obscurantist state.