In 2010, the Spanish constitutional court annulled a large part of the Catalan statute of autonomy negotiated between Catalonia and the previous prime minister, Jose Luis Zapatero. This demolished one of the main agreements achieved during the Spanish transition to democracy - Catalonia's recovery of self-governance.