The president of Catalonia's regional government Quim Torra has appeared in court on charges of "disobedience" for refusing to take down pro-independence symbols while campaigning for Spain's national election in April.
Prosecutors are now seeking to declare him ineligible for public office for up to two years.
Torra is the third consecutive Catalan leader to have fallen foul of Spain's laws as he refuses to back down on the fight to make Catalonia independent.
But that has led to accusations he is being too partisan as a regional representative.
Al Jazeera's Sonia Gallego reports from Barcelona