Valencia, Spain (CNN) After more than a week at sea, hundreds of migrants turned away by Italy danced and sang as their ships arrived in the Spanish port of Valencia on Sunday.

The 630 migrants had been rescued by the Aquarius last weekend off the coast of Libya, but Italy and Malta refused to let their ship into port.

The ship is operated by aid agencies Doctors Without Borders and SOS Mediterranee, and had at least 100 minors and seven pregnant women aboard.

The ship was held for two days between Malta and the Italian island of Sicily after the latter nation's Interior Minister, Matteo Salvini, refused to allow it to dock.

A migrant on board the rescue ship Aquarius bound for Spain.

After Spain offered to take them in, the ship started an 800-mile journey to Valencia along with two Italian ships sent to ease the overcrowding.

Read More