The rescued migrants and refugees were traveling on three ships: the Aquarius, operated by the charities SOS Méditerranée and Médecins Sans Frontières (MSF), an Italian naval ship and an Italian coastguard vessel.
Aquarius, which was originally carrying more than 600 rescued migrants, was left stranded in the Mediterranean for two days after Matteo Salvini, Italy's hardline interior minister and leader of the anti-immigration League party, refused to allow it to dock last Sunday. After Spain offered to take in the survivors, the ship started an 800-mile journey to the city of Valencia
along with the two Italian ships, which were sent to ease the overcrowding.
Here's what the journey has been like for those on board:
Wednesday, June 13
Conditions on board the Aquarius worsened on Wednesday as poor weather and large waves caused dozens of people to suffer from seasickness.
At least 80 people who were pulled out of the sea by rescuers over the weekend had to be treated by doctors as waves as much as four meters high and winds of 65 kilometers per hour buffeted the vessel, according to Doctors Without Borders (MSF), which operates the rescue ship alongside SOS Méditerranée.