Soldiers from Niger and Chad have retaken a Nigerian town from Boko Haram, another victory in a regional campaign to wrest back control of swaths of Nigeria from the Islamic militants.

Col. Michel Ledru of Niger's army said Wednesday that Damasak was regained over the weekend. On Wednesday, an Associated Press photographer in the town said it was largely deserted, except for 2,000 troops from Niger and Chad and a handful of civilians.

Damasak, just a few miles (kilometers) from the border with Niger, had signs of its occupation by the militants. Walls were covered in their writings and the extremists' black and white flag still flew above some buildings. Bullet-ridden vehicles were abandoned in the streets.

Boko Haram has been fighting a six-year insurgency to create an Islamic state.