Following the events of the coup in the same year, João Goulart, the president, was deposed by allegations of leaving the country with no permission. Since João Goulart was already the Vice President, the President of the Chamber of Deputies, Ranieri Mazzili, assumed the post until a new president to be elected until 1965 (the end of João Goulart term) by the National Congress of Brazil. The date of election, was scheduled by the first Institutional Act, amended by the Supreme Command of the Revolution, the de facto ruler over Brazil at that moment.