At least 13 members of Niger's National Guard have been killed and 20 others wounded following an attack on their military compound in the western part of the country.

The attack took place on Thursday in Sanam, located in the Tillaberi region near the border with Mali, an area that has experienced repeated attacks by armed groups targeting security forces.

In a statement broadcast on state television, Niger's Defence Ministry described the incident as a terrorist attack carried out by numerous heavily armed assailants.

The ministry provided a provisional death toll, confirming that 13 National Guard members had been killed while another 20 sustained injuries during the assault.

According to the statement, government forces managed to kill several of the attackers and destroy their logistical infrastructure during the confrontation.

Security operations were still underway, with authorities pursuing those responsible for the attack.

Local and security sources told Nigerien media outlet ActuNiger that the assault occurred at approximately 5am local time, or 4am GMT.

However, the authorities did not identify the group responsible for the attack, leaving the circumstances surrounding the assault unclear.

Sanam is situated in the Tillaberi region, which borders Mali and has remained vulnerable to attacks by armed groups operating across the Sahel region.

The latest incident comes just two days after another deadly attack targeting Nigerien soldiers in the southeastern Diffa region.

On Tuesday, the Defence Ministry reported that 11 soldiers had been killed in an attack it attributed to Boko Haram.

The repeated attacks have added to security concerns in Niger, where military installations and security personnel continue to face threats from armed groups.

Violence has also been reported in neighbouring Nigeria, where suspected members of an armed group killed at least 30 people in villages in the central Niger State on Tuesday.

According to reports, the attackers said the killings were carried out in retaliation for the deaths of several Fulani herders days earlier.

The violence in Nigeria has further highlighted the security challenges facing communities across the region, with armed attacks affecting both civilians and security personnel.

Meanwhile, in northeastern Nigeria, President Bola Tinubu has promised to restore peace in an area affected by a long-running rebellion involving Boko Haram and the Islamic State West Africa Province, an affiliate of ISIL.

Tinubu made the commitment on Wednesday as he campaigned for re-election, pledging to address insecurity in the region.

In Niger, authorities have not yet disclosed the identities of those behind the Sanam attack or provided further details on the ongoing operations to track them down.

The Defence Ministry's provisional figures indicate that the assault was among the latest deadly incidents targeting the country's security forces as violence continues across parts of the Sahel.