Spain's Senate, which is dominated by the right-wing opposition, on Tuesday vetoed a controversial amnesty bill, returning it to the lower house in a symbolic gesture that won't stop it becoming law.
The opposition Popular Party presented a proposal to veto in relation to the bill to grant amnesty to Catalan separatists involved in the failed 2017 independence bid, which "was approved", with 149 votes in favour to 113 against.
It is only a token show of disapproval as Spain's Senate is not empowered to block a bill, only to propose amendments or a veto.
The bill now returns to the lower house, the Congreso, where it is expected to receive its final green light in the coming weeks.
Tuesday's Senate vote can be lifted by an absolute majority in the lower house within two months, or by just a simple majority once that period of time passes.
The bill seeks to draw a line under years of efforts to prosecute those involved in the botched secession bid that triggered Spain's worst political crisis in decades.
The biggest beneficiary would be Carles Puigdemont -- the former Catalan leader who led the failed secession bid who fled Spain to avoid prosecution.
Drafted by the ruling Socialists and two Catalan separatist parties and approved by lawmakers in March before going to the Senate, the text is the most controversial piece of legislation parliament has voted on since Sanchez came to power in 2018.
Catalan separatist parties including Puigdemont's hardline JxCat and its moderate rival ERC demanded the law in exchange for their parliamentary support for Sanchez to secure a new four-year term in office in November.
The Spanish right -- which sees Puigdemont as public enemy number one -- has been implacably opposed to the bill, accusing Sanchez of letting himself be "held hostage" by the separatists in order to stay in power.
The separatists suffered a setback when they lost their ruling majority in Sunday's regional elections in Catalonia where they have governed for a decade, with Sanchez's Socialists coming top.
Although they are now seeking support to build a governing majority, Puigdemont insisted Monday he would try to piece together his own minority alliance to govern the region.