This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

Madrid (AP) — A Spanish Supreme Court judge on Wednesday ordered the release of Clara Ponsatí, a Euro MP and a former regional Catalan government Cabinet member who fled Spain five years ago after a failed independence bid for Catalonia.

Ponsatí, who is a member of the Together for Catalonia party, was released after being detained a day earlier when she entered Spain and held a press conference in Barcelona. She faces charges of disobeying the law for helping stage Catalonia´s illegal independence referendum in 2017.

Hours after her release, Ponsatí flew to Brussel for a European Parliament meeting but must appear before court on April 24 and be constantly trackable by Spanish authorities.

If convicted of disobeying explicit court injunctions not to proceed with the breakaway referendum, Ponsatí could face a fine and be barred from public office for up to two years but will not face prison.

She previously faced charges of sedition, which would have meant time in prison, but a recent amendment to Spanish law no longer classifies sedition as a crime.

Ponsatí was among several other Catalan politicians who fled Spanish justice in 2017 following the referendum. The group included former Catalonia regional President Carles Puigdemont who is also a Euro MP for Together for Catalonia and is wanted in Spain for embezzlement.

Ponsatí claims she has immunity as a member of the European Parliament but Spain’s Supreme Court rejects this, saying the charges against her and Puigdemont date from before they were elected to the body.

Her return to Spain comes after unity within the pro-independence camp was shattered last year when the two leading secessionist parties split, with Together for Catalonia leaving the regional coalition government headed by the Republican Left of Catalonia.

Unlike Together for Catalonia, the Republican Left party supports Spain’s left-leaning coalition government and has held negotiations with Spanish authorities on resolving the dispute.

The Spanish government has also pardoned nine independence bid leaders who didn’t flee and were later convicted of sedition and misuse of public funds. The pardons were considered an attempt by central authorities to reduce tensions with wealthy northeast Catalonia.

Polls show that Catalonia’s 7.5 million residents are equally split between those who want to secede and those who want to remain a part of Spain.