Getúlio Dornelles Vargas (Portuguese: [ʒeˈtulju doɾˈnɛlis ˈvaɾɡɐs]; 19 April 1882 – 24 August 1954) was President of Brazil. He was the dictator from 1930 to 1945. Then he was elected President in 1951 and served until 1954. Vargas led Brazil for 18 years, the longest of any President. He was second in Brazilian history only to Emperor Pedro II among heads of state. He favored nationalism, industrialization, centralization, social welfare and populism. Vargas won the nickname "The Father of the Poor". He was a supporter of workers rights and was very much an anti-communist. He shot himself dead.