Bolsonaro was born in the town of Glicério, in the state of São Paulo. He graduated from the Agulhas Negras Military Academy in 1977 and served in the Brazilian Army's field artillery and parachutist units. He became known to the public in 1986, when he wrote an article for Veja magazine criticizing low wages for military officers, after which he was arrested and detained for fifteen days. One year later, he was accused by the same magazine of planning to plant bombs in military units, which he denied. After a first degree conviction, he was acquitted by the Brazilian Supreme Military Court in 1988. He joined the reserve army in 1988 with the rank of captain and ran for the Rio de Janeiro City Council that same year, being elected while a member of the Christian Democratic Party. Bolsonaro was elected in 1990 to the lower chamber of Congress and was subsequently re-elected six times. During his 27-year tenure as a congressman, he became known for his strong support of national conservatism. He is a vocal opponent of same-sex marriage and homosexuality, abortion, affirmative action, drug liberalization and secularism. In foreign policy, he has advocated closer relations to the United States and Israel. During the 2018 presidential campaign, he started to advocate for economic liberal and pro-market policies. A polarizing and controversial politician, his views and comments, which have been described as far-right and populist in nature, have drawn both praise and criticism in Brazil.