The Supreme Court’s criminal chamber ruled on Tuesday that any criminal case against the independence leader was nullified under a controversial amnesty law introduced by prime minister Pedro Sánchez. The report says the law was brought in more than two years ago. The decision means Puigdemont, who has lived in exile in Belgium for almost a decade after fleeing Spain in the boot of a car, can return freely without fear of arrest.

Former ministers Toni Comín and Lluís Puig, who also fled Spain in 2017, were cleared of wrongdoing in the same ruling. They have already returned home. Puigdemont has not said when or how he will come back. His lawyer, Gonzalo Boye, said the plan was to wait until after Sunday’s general election before giving full details.

Puigdemont marked the ruling on X by sharing a poem by Mallorca writer Juame Ponsa addressed to his political enemies. In it he offered them eternal thanks for giving him so many reasons to tell them to go fuck themselves. He said he had been saving the message for the right occasion and that the day had arrived.

The ruling follows a decision last month by Supreme Court judge Pablo Llarena to scrap an arrest warrant for Puigdemont, who faced a series of charges over the failed independence bid. Llarena withdrew the detention order just hours after the Constitutional Court, by seven votes to five, overturned an earlier finding that the amnesty did not apply to certain crimes. Puigdemont had been widely expected to be the law’s highest-profile beneficiary.

The right-wing separatist party Junts per Catalunya, which Puigdemont leads, demanded that carve-out in exchange for the votes Sánchez needed for a majority in Congress. Hopes of a triumphant return were dashed two years ago when judges ruled that the amnesty did not cover the alleged misuse of public funds, so a warrant for his arrest stayed in force.

The charges concerned his role in the separatist movement known as el procés, the process, which reached its low point in 2017 with an illegal referendum and a unilateral declaration of independence. Mariano Rajoy’s government then imposed direct rule on Catalunya from Madrid and called fresh elections. Charges of rebellion, sedition and misuse of public funds were brought against Puigdemont and his allies. Many fled across the border into France to avoid arrest.

He last visited Spain in 2024, in a brief trip to Barcelona. He spoke to supporters packed into the city centre and then crossed back over the border without being detected.