Italy's Senate has voted to allow prosecutors to put far-right leader Matteo Salvini on trial over charges of holding migrants at sea.
Salvini, who previously served as Italy's interior minister, is accused of illegally keeping people on a boat off Sicily for days in August 2019.
Some 116 migrants remained aboard the Gregoretti for close to a week.
On Wednesday, a majority of senators voted for the trial of the anti-immigration League leader to go ahead.
Salvini has repeatedly said he wants to go to court. He told the chamber he wanted "to tell the world" that his migration policies "saved tens of thousands of lives".
"I am absolutely calm and proud of what I have done. And I'll do it again as soon as I get back into government," he said later.
Senators from his League party left the chamber rather than take part in Wednesday's vote.
Under Italian law, ministers have parliamentary immunity for actions taken while they were in office. But a committee voted last month to strip Salvini of his immunity - leaving the final decision in the hands of the Senate on Wednesday.
An official vote tally is expected by 7pm local time. If successfully prosecuted at trial, Salvini could face up to 15 years in jail.
For years, some in Italy have complained that the country has taken in a large number of migrants fleeing across the Mediterranean, and has called for other EU nations to take their share.
Salvini in particular took a hard stance on migrant boats while he was in office, implementing a closed ports policy.
On 25 July last year, Italian coastguard ship Gregoretti picked up about 140 migrants trying to travel to Italy from Libya.
While the Gregoretti allowed several people off the ship for medical attention, some 116 people remained on board for days while Salvini demanded other EU countries take them in.
The decision drew an immediate backlash. Prosecutors opened an investigation into conditions on board after reports that migrants only had one toilet between them.
After the Catholic Church and a number of states agreed to care for those on board, in a deal which then-EU commissioner Dimitris Avramopoulos helped to broker, Salvini eventually consented to let them dock on 31 July.
I welcome that ,,, and agreed to relocate persons from the Gregoretti and that many will also be received by the Church in . This was made possible thanks to the intense coordination efforts @EU_Commission. It shows that temporary arrangements are urgently needed.— Dimitris Avramopoulos (@Avramopoulos) July 31, 2019
The League leader insists the decision to keep the migrants offshore had the support of Prime Minister Giuseppe Conte and the rest of the government.
Prosecutors believe he acted alone, ignoring repeated requests from Conte to release them.
Italy's Populist Five Star Movement - at the time in coalition with the League - had backed Salvini in previous cases, such as when 140 migrants on board the Diciotti vessel were not allowed to embark in Sicily for six days in the summer of 2018.
The party said that in the case of the Gregoretti he acted alone.
Salvini also faces losing his immunity later this month over another migrant case. He is accused of keeping the Open Arms migrant vessel offshore for days in August last year.
At the time, Prime Minister Conte called Salvini "obsessed" with keeping migrants out of Italy.