Generalitat de Catalunya

The origins of the Generalitat are in the 13th century when permanent councils of deputies (deputations) were created to rule administration of the Courts of the different realms that formed the Crown of Aragon which gave birth to the Deputation of the General of the Principality of Catalonia (1359), the Deputation of the General of the Kingdom of Aragon (1362) and the Deputation of the General of the Kingdom of Valencia (1412). The modern Generalitat was established in 1931, as the institution of self-government of Catalonia within the Spanish Republic. After the end of the Civil War in 1940 the President was executed and the Generalitat abolished. Notwithstanding, the presidency went into exile until it was reestablished in 1977.
Its headquarters are at the Palau de la Generalitat, in the city of Barcelona. Provided by Wikipedia