At least 224 people have died after a boat carrying migrants from Senegal to Spain capsized off the coast of Mauritania, a Senegalese official told the BBC.

The boat departed from Bargny, a coastal fishing town near Dakar, before capsizing near the Mauritanian port city of Nouadhibou. Babacar Seck, an official in Bargny's mayor's office, said 395 people were on board and only 171 survived. The disaster has plunged many families in the town into mourning.

Bargny Mayor Djibril Faye told the Associated Press the boat ran aground off Mauritania before it capsized. "We are organising to transport survivors and the bodies of victims," he said.

Figures shifted through the day as more information emerged. Early reports from Reuters, citing a local official and two civil society sources, put the death toll at more than 100, before the Bargny mayor's office gave the higher figure of at least 224 dead to the BBC.

The Atlantic crossing from West Africa to Spain's Canary Islands, a voyage of about 1,290km (800 miles), is one of the world's deadliest migration routes. The sinking is the latest in a series of deadly incidents involving migrant boats making the crossing from West Africa to Spain.