 In April 1930 he returned to Spain after being pardoned; he was exiled again but returned once more in February 1931.In 1931, after the elections that caused the exile of Alfonso XIII of Spain and gave the local majority to his party Republican Left of Catalonia ("Esquerra Republicana de Catalunya", ERC), a few hours before the proclamation of the Second Spanish Republic in Madrid, from the balcony of the Palace of the Generalitat (then the seat of the Provincial Deputation of Barcelona), announced the "Catalan Republic, expecting that the other peoples of Spain constitute themselves as republics, in order to establish the Iberian Confederation".Macià was appointed as its acting president.