Soldiers from Cameroon have retaken Nigeria's north-eastern town of Goshi from Boko Haram, killing 162 militants in a weekend operation, Cameroon's government has said.

Communications minister Issa Tchiroma Bakary said Cameroon special forces also freed about 100 people being held by the extremists, including Cameroonians and Nigerians. He said two members of Cameroon's military were killed.

Mr Bakary said the operation from February 11 to February 14 destroyed several bomb factories and two training centres in the former Boko Haram stronghold, and soldiers seized vehicles, weapons and ammunition.

Amnesty International says Nigerian-based Boko Haram has killed more than 20,000 people in its six-year insurgency.