Since its transition to democracy in the late 1970s, Spain has been organized in a quasi-federal system called the "State of Autonomies". Each Autonomous Community is required by the Constitution to have its own three-branched system of government with its basic rules codified in a special law called a Statute of Autonomy, a sort-of regional constitution. Although there is no Constitutional requirement imposed upon regional elections other than that they must be based in proportional methods, all regional legislatures are unicameral, their members being elected in multi-member constituencies matching the provinces in the Autonomous Community with seats allocated to party lists using the D'Hondt method.
The cities of Ceuta and Melilla are explicitly empowered by the Constitution to form Autonomous Communities on their own. Such provision was exercised by the respective City Councils in 1995, but not to its full extent: instead, the cities decided to adopt a regime between a normal city and a full-fledged Autonomous Community, with the main differences being:
Except for Andalusia, the Basque Country, Catalonia and Galicia, which were created by a special fast procedure, most communities have very similar Statutes of Autonomy and election laws. Elections in those communities are fixed to a certain common date, which is currently "the fourth Sunday of May each four years", so regional Presidents cannot trigger a snap election nor select the final election date from a range of close dates. However, there have been occasions when the Speaker of the Legislative Assembly has been forced to call an out-of-sync election because the legislature was deadlocked in the President election. In those cases, the next election still takes place at the fixed common date, causing the new term out of the fresh elections to be shorter than normal: see President of Madrid#The 6th term scandal.
On the other hand, Presidents of communities created by the "fast procedure" can select the actual election date and trigger snap elections, and have frequently done so, particularly in the Basque Country and Catalonia. The Andalusian elections are usually set to coincide with the Spanish general elections, but again, there is no requisite to that effect in the Andalusian legislation.