SPAIN violated the political rights of Catalan politicians following the country's declaration of independence, the UN has declared.

Independent human rights experts working with the United Nations say Spain violated the political rights of members of the Catalan government and parliament by stripping them of their duties prior to any conviction following the independence vote in the region five years ago.

The Human Rights Committee, a group of 18 experts, released its findings on Wednesday following a complaint by four Catalan regional leaders who were prosecuted and sentenced in Spain over their roles in the October 2017 referendum and its turbulent aftermath.

READ MORE: ANC leader: Catalonia should take note of indyref2 strategy

Spain’s constitutional court ruled that the referendum was invalid, and the four officials — including former Catalonia vice president Oriol Junqueras — and others were prosecuted for the crime of rebellion and stripped of their governmental functions.

But two years later, the charges were downgraded to sedition — which does not include the element of violence that is part of the crime of rebellion.

Twelve people were convicted but only nine received jail sentences. The nine were pardoned in 2021 but remain barred from holding office.

The two pro-Catalan independence parties which most of the 12 belonged to celebrated the decision on Wednesday.

The National: National Extra Scottish politics newsletter banner

Spain “must cease it repressive policies and cannot continue using the law and penal processes to confront the peaceful demand for the right to self-determination”, the Republican Left Of Catalonia and Together For Catalonia parties said in a joint statement.

There was no immediate reaction from the Spanish government.

Spain says a self-determination referendum is a breach of the country’s constitution.

The committee, which works with the UN human rights office, works to help make sure that the 173 countries that have ratified the International Covenant on Civil and Political Rights, including Spain, honour and uphold its requirements.