 Three days later, the government of the new Spanish Republic, sent three ministers (Fernando de los Ríos, Lluís Nicolau d'Olwer and Marcel·lí Domingo) to Barcelona to negotiate with Macià and the Catalan government.Macià reached an agreement with the ministers, in which the Catalan Republic was renamed Generalitat of Catalonia, becoming an autonomous government inside the Spanish Republic.Macià was the President of the Generalitat from 1932, after the first Catalan parliamentary election, until his death in December 1933.