Passage: Rouhani was deputy speaker of the fourth and fifth terms of the Parliament of Iran (Majlis) and Secretary of the Supreme National Security Council from 1989 to 2005. In the latter capacity, he was the country's top negotiator with the EU three, UK, France, and Germany, on nuclear technology in Iran, and has also served as a Shi'ite ijtihadi cleric, and economic trade negotiator. He has expressed official support for upholding the rights of ethnic and religious minorities. In 2013, he appointed former industries minister Eshaq Jahangiri as his first vice-president.On 7 May 2013, Rouhani registered for the presidential election that was held on 14 June 2013. He said that, if elected, he would prepare a "civil rights charter", restore the economy and improve rocky relations with Western nations. Rouhani is frequently described as a moderate. He was elected as President of Iran on 15 June, defeating Tehran mayor Mohammad Bagher Ghalibaf and four other candidates. He took office on 3 August 2013. In 2013, Time magazine named him in its list of the 100 Most Influential People in the World. In domestic policy, he encourages personal freedom and free access to information, has improved women's rights by appointing female foreign ministry spokespeople, and has been described as a centrist and reformist who has improved Iran's diplomatic relations with other countries through exchanging conciliatory letters. Rouhani won re-election in the 2017 election with 23,636,652 votes (57.1%). He became the third Iranian President, after Mohammad Khatami and Mahmoud Ahmadinejad, to win a presidential victory as an incumbent with an increased electoral mandate.

Question: Rouhani began acting as President of Iran in what year?
2013