République catalane
The Generalitat was restored in the Catalonia under Spanish administration in 1931 during the events of the proclamation of the Second Spanish Republic when Francesc Macià, leader of the Republican Left of Catalonia (ERC), declared the Catalan Republic within an Iberian Federation on 14 April but later reached an agreement with the Spanish ministers, in which the Catalan Republic was renamed Generalitat of Catalonia (Catalan: Generalitat de Catalunya) and given its modern political and representative function as the institution of self-government of Catalonia within the Spanish Republic. The restored Generalitat was ruled by a statute of autonomy approved by the Spanish Cortes in 1932 and included a parliament, a presidency, a government and a court of appeal. It was presided by Francesc Macià (1931-1933) and Lluís Companys (1933-1940). The governments of Macià and Companys enacted a progressive agenda, despite the internal difficulties, while fought to demand the complete transfer of the powers estipulated in the Statute.