Police in Germany detained former Catalan President Carles Puigdemont on Sunday, his lawyer said. Puigdemont was returning from Finland to Belgium, where he is in self-imposed exile. He was arrested when he crossed the border between Denmark and Germany, the lawyer Jaume Alonso-Cuevillas said on Twitter.

The Spanish Supreme Court had reactivated the European arrest warrant for Puigdemont on Friday. He was in Finland then, but escaped arrest.

Puigdemont had fled to Belgium in October 2017 after he declared Catalonia’s independence from Spain. He faces charges of rebellion, sedition and misuse of public funds to break Catalonia, then an autonomous region, from Spain. Madrid then withdrew Catalonia’s autonomy and has ruled the region directly since then.

Puigdemont was at the forefront of the movement for Catalonia’s independence from Spain that led to massive protests in 2017 and resulted in the country’s worst political crisis in decades.