MADRID—About 35 African migrants, including at least one rescued at sea from an overcrowded wooden boat, are among the top prizewinners of Spain’s Christmas lottery, receiving €400,000 ($438,000) each.

The winners who bought the tickets in the southern coastal city of Roquetas de Mar included migrants from Senegal, Mali and Morocco, agency owner Jose Martin told the La Voz de Almeria newspaper in a story published Thursday.

Among them was a Senegalese man named Ngame who told Spanish media that he and his wife were rescued by Spain’s coast guard in 2007 when their boat was traveling from Africa’s western coast toward Spain’s Canary Islands, with about 65 people aboard.

Outside the lottery agency, Ngame was in tears as he clutched a photocopy of his winning ticket with the number 79,140. He thanked Spain for saving his life and giving him the chance to play the country’s lottery.