Linhares devoted himself mainly to prepare the return to democratic order, replacing the stakeholders in the states by judiciary members, giving the new parliament constitution-making powers, extinguishing the Court of National Security, abolishing the state of emergency, provided in the 1937 Constitution, among other measures. In the economic and administrative field, acted against inflation, revoked the antitrust law, one of the factors that led to the deposition of Vargas, and extinguished the Council of People's Economy. Granted autonomy to the University of Brazil and regulated various departments of the Ministry of Transportation and Public Works. In December 1945 elections were held for the presidency and the National Constituent Assembly. José Linhares remained in office until the inauguration of the elected president, Eurico Gaspar Dutra.