Spanish rescue services have rescued nearly 500 people from the Mediterranean Sea in a single day as they attempted to reach the country's coast.
The Spanish Maritime Safety Agency said that it had picked up a total of 484 people in 30 makeshift vessels in the Strait of Gibraltar and Alboran Sea, which separate Spain from Morocco.
According to a count by the International Organisation for Migration, some 18,653 migrants reached Spanish shores between the beginning of the year and 18 July.
They are mainly from sub-Saharan Africa - notably Guinea, Mali and Mauritania - as well as Morocco.
At least 294 migrants have died in their attempts to reach Spain this year, out of a total of 1,489 who died in the Mediterranean, according to IOM.
In June, Spain agreed to take in 630 migrants who arrived aboard three vessels, including the French NGO rescue ship Aquarius.
The Aquarius rescued the migrants off Libya's coast on 9 June but Italy's new populist government and Malta both refused to let it dock, triggering an international outcry before Spain stepped in to help.
On 4 July, a ship belonging to Spanish NGO Proactiva Open Arms docked in Barcelona with 60 migrants rescued off the Libyan coast on board after Italy refused to take them in.
Faced with growing tension in the EU over the issue, member states struck a deal last month to stem the arrival of migrants.
The accord includes the setting up of secure centres for migrants in EU countries and "disembarkation platforms" outside the bloc, as well as sharing out refugees among member states.
But the plan remains fraught with rows over how to divide responsibility for migrants and ease the stress on coastal countries such as Italy and Greece.
Italy, which had earlier vowed to turn away rescue boats, agreed on Monday to continue accepting migrants picked up at sea, at least until the EU finds a solution for sharing responsibility.