migrants attempt swim island italy lampedusa pkg vpx_00011004.jpg
Proactiva Open Arms
migrants attempt swim island italy lampedusa pkg vpx_00011004.jpg
Now playing
01:29
Migrants jump off rescue boat and try to swim to Italy
Myanmar Bago killing Hancocks pkg intl hnk vpx_00002309.png
Myanmar Bago killing Hancocks pkg intl hnk vpx_00002309.png
Now playing
03:39
Eyewitnesses recount bloody crackdown in Bago, Myanmar
Hong Kong national security education day Lu Stout W&T intl hnk vpx_00013016.png
Hong Kong national security education day Lu Stout W&T intl hnk vpx_00013016.png
Now playing
01:42
Hong Kong police showcase 'Chinese-style goose-stepping'
WASHINGTON, DC - APRIL 15: U.S. President Joe Biden announces new economic sanctions against the Russia government from the East Room of the White House on April 15, 2021 in Washington, DC. Biden announced sanctions against 32 companies and individuals that are aimed at choking off lending to the Russian government and in response to the 2020 hacking operation that breached American government agencies and some of the nation's largest companies. (Photo by Chip Somodevilla/Getty Images)
Chip Somodevilla/Getty Images
WASHINGTON, DC - APRIL 15: U.S. President Joe Biden announces new economic sanctions against the Russia government from the East Room of the White House on April 15, 2021 in Washington, DC. Biden announced sanctions against 32 companies and individuals that are aimed at choking off lending to the Russian government and in response to the 2020 hacking operation that breached American government agencies and some of the nation's largest companies. (Photo by Chip Somodevilla/Getty Images)
Now playing
06:49
Biden imposes new sanctions on Russia
CNN's Becky Anderson speaks with Fatima Gailani, an Afghan women's rights activist and government peace negotiator, about her views on the planned withdrawal of foreign troops from Afghanistan.
CNN
CNN's Becky Anderson speaks with Fatima Gailani, an Afghan women's rights activist and government peace negotiator, about her views on the planned withdrawal of foreign troops from Afghanistan.
Now playing
03:49
Afghan negotiator: I'm worried about withdrawal without peace
Prince Charles and his wife Camilla, Duchess of Cornwall, took in flowers left in tribute to his recently deceased father Prince Philip. The flowers had initially been left outside Buckingham Palace but were moved over the road to Marlborough House.
UK Pool via ITN
Prince Charles and his wife Camilla, Duchess of Cornwall, took in flowers left in tribute to his recently deceased father Prince Philip. The flowers had initially been left outside Buckingham Palace but were moved over the road to Marlborough House.
Now playing
01:56
Prince Charles and Duchess of Cornwall view tributes for Prince Philip
screengrab afghanistan taliban
AFPTV
screengrab afghanistan taliban
Now playing
03:50
How Taliban may run Afghanistan after US troops withdraw
Tokyo Olympics 100 days countdown Essig pkg intl hnk vpx_00000000.png
Tokyo Olympics 100 days countdown Essig pkg intl hnk vpx_00000000.png
Now playing
03:14
Growing concerns over Tokyo Olympics Covid-19 safety measures
screengrab japan fukushima daiichi
IAEA
screengrab japan fukushima daiichi
Now playing
02:31
Japan plans to release treated Fukushima water into sea
SUEZ, EGYPT - MARCH 29: The container ship 'Ever Given' is refloated, unblocking the Suez Canal on March 29, 2021 in Suez, Egypt. This morning the container ship came partly unstuck from the shoreline, where it ran aground in the canal last Tuesday, and later resumed its course shortly after 3pm local time. The Suez Canal is one of the world's busiest shipping lanes and the blockage had created a backlog of vessels at either end, raising concerns over the impact on global shipping and supply chains. (Photo by Mahmoud Khaled/Getty Images)
Mahmoud Khaled/Getty Images
SUEZ, EGYPT - MARCH 29: The container ship 'Ever Given' is refloated, unblocking the Suez Canal on March 29, 2021 in Suez, Egypt. This morning the container ship came partly unstuck from the shoreline, where it ran aground in the canal last Tuesday, and later resumed its course shortly after 3pm local time. The Suez Canal is one of the world's busiest shipping lanes and the blockage had created a backlog of vessels at either end, raising concerns over the impact on global shipping and supply chains. (Photo by Mahmoud Khaled/Getty Images)
Now playing
00:57
Egypt seizes Ever Given ship, asks for $900M in compensation
Taiwan has been the chief source of tension between Washington and Beijing for decades and is widely seen as the most likely trigger for a potentially catastrophic US-China war. The worry about Taiwan comes as China wields new strength from years of military buildup. CNN's David Culver reports.
PLA Air Force/Weibo
Taiwan has been the chief source of tension between Washington and Beijing for decades and is widely seen as the most likely trigger for a potentially catastrophic US-China war. The worry about Taiwan comes as China wields new strength from years of military buildup. CNN's David Culver reports.
Now playing
04:04
Dramatic videos show Chinese naval exercises amid rising tensions over Taiwan
CNN
Now playing
05:40
Unprecedented footage shows front line of Ukrainian conflict with Russia
5995404 02.09.2019 Iranian Foreign Minister Mohammad Javad Zarif attends a news conference following his meeting with his Russian counterpart Minister Sergei Lavrov, in Moscow, Russia. Iliya Pitalev / Sputnik  via AP
Iliya Pitalev/SPTNK/Sputnik via AP
5995404 02.09.2019 Iranian Foreign Minister Mohammad Javad Zarif attends a news conference following his meeting with his Russian counterpart Minister Sergei Lavrov, in Moscow, Russia. Iliya Pitalev / Sputnik via AP
Now playing
04:09
Iran accuses Israel of sabotaging nuclear site, vows revenge
Ash rises into the air as La Soufriere volcano erupts on the eastern Caribbean island of St. Vincent, seen from Chateaubelair, Friday, April 9, 2021. (AP Photo/Orvil Samuel)
Orvil Samuel/AP
Ash rises into the air as La Soufriere volcano erupts on the eastern Caribbean island of St. Vincent, seen from Chateaubelair, Friday, April 9, 2021. (AP Photo/Orvil Samuel)
Now playing
01:08
See the looming clouds of ash over La Soufrière volcano
screengrab Vanuatu villagers mourn philip
Reuters
screengrab Vanuatu villagers mourn philip
Now playing
02:03
Remote tribe worships Prince Philip as god, mourns his death
ITN
Now playing
01:15
Prince Charles speaks following Prince Philip's death
(CNN) —  

An Italian court has seized a rescue vessel that has been stranded off Italy for 19 days, ordering all migrants on board to disembark.

The move on Tuesday evening comes after Spain said that it was dispatching a ship to collect migrants on the Open Arms humanitarian vessel from the Italian island of Lampedusa to Mallorca, in Spain.

Italian prosecutor Salvatore Vella told CNN that the seizure of the ship became necessary after an inspection by medical personnel conducted earlier in the day found that the hygienic and health conditions on board had deteriorated.

Earlier Tuesday, the Spanish charity that operates the Open Arms vessel said one man had leapt overboard “desperately trying to reach Lampedusa” on Tuesday morning. The rescue ship had been moored 800 meters off the coast awaiting permission to dock.

According to the NGO, Proactiva Open Arms, the man was rescued by the Italian coast guard. It was not clear whether he was returned to the ship or taken to shore.

Just hours later, nine more people plunged themselves into the water in a bid to reach the Italian island. Some that jumped were not wearing life jackets, the charity said.

“One of our volunteers jumped in the water to save them and with the intervention of a Coast Guard vessel, a financial crime police vessel and one of our little rescue dinghies we were able to get them all on board,” a spokesperson for the NGO said.

The group tweeted earlier: “Day 19. Delirious night and a man in the water. First an urgent medical evacuation, then this morning a man threw himself into the water… In the middle (of the night), a woman with a panic attack. The situation is hopeless. Words are missing.”

Italy’s far-right Interior Minister Matteo Salvini had refused to allow Open Arms to dock, despite a court ruling that said the boat should be allowed to.

Salvini, who rose to power on anti-migrant xenophobic platform, has previously allowed 27 unaccompanied minors to disembark the ship, although he said that decision was “exclusively” the responsibility of Prime Minister Giuseppe Conte.

Eight more people were disembarked for health reasons, while another person accompanied them, the charity said Tuesday. It said there were 98 rescued migrants and 19 volunteers on board. The charity said the condition of those on board was “critical” and submitted an urgent request to dock.

Earlier on Tuesday, Italian Transport Minister Danilo Toninelli said that the country was “working to unblock the Open Arms situation as soon as possible” because the situation on board has become “unsustainable.”

Toninelli blamed the situation on the Spanish government. “While previously the other European countries expressed their will to welcome some of the migrants before they reached land, now instead they tell us that they first need to be disembarked in Lampedusa and then we will see,” he said in a post on Facebook.

However, Spain said in a statement on Monday that it had offered the Open Arms “the option to head to the closest Spanish port in the Mediterranean,” adding that the Italian government had “failed to follow the law” in refusing to allow the ship to dock.

But Proactiva Open Arms said it was not possible for the rescue ship to sail to a further port for another three days with adverse weather conditions.

The latest attempts to escape the ship came after four people jumped from the vessel Sunday. All four were rescued by lifeguards on the ship and returned to the boat.

Salvini shuttered Italy’s ports to migrant rescue vessels in June 2018. In July, Italy adopted a decree that could see ships docking without authorization face fines of up to $57,000.

CNN’s Kara Fox contributed to this report.