Nigeria says it is recalling its top diplomats in South Africa because of "ongoing xenophobia targeting foreigners."

A Ministry of Foreign Affairs statement says the attacks that began three weeks ago have killed seven people, destroyed property and "created fear and uncertainty in the minds of African migrants."

It says Nigeria's ambassador in Pretoria, South Africa's capital, and the consul general in Johannesburg, the economic hub, will return to Nigeria for consultations.

The statement, dated Saturday, noted that some South Africans have organized peace marches and that President Jacob Zuma has condemned the attacks as has Zulu King Goodwill Zwelithini, whose comments allegedly incited the violence.

Nigerian legislators have called for the South African government to pay damages and a Nigerian rights group has complained to the International Criminal Court.