A constitutional crisis took place in Spain from 2017 to 2018 as the result of a political conflict between the Government of Spain and the Generalitat de Catalunya under the then-President Carles Puigdemont—the government of the autonomous community of Catalonia until 28 October 2017—over the issue of Catalan independence. It started after the law intending to allow the 2017 Catalan independence referendum was denounced by the Spanish government under Prime Minister Mariano Rajoy and subsequently suspended by the Constitutional Court until it ruled on the issue. Some international media outlets have described the events as "one of the worst political crises in modern Spanish history".