During his second term, Ahmadinejad experienced a power struggle with reformers and other traditionalists in parliament and the Revolutionary Guard and with Supreme Leader Ali Khamenei, over his dismissal of intelligence minister Gholam-Hossein Mohseni-Eje'i and his support for his controversial close adviser, Esfandiar Rahim Mashaei. On 14 March 2012, Ahmadinejad became the first president of the Islamic Republic of Iran to be summoned by the Islamic Consultative Assembly (parliament) to answer questions regarding his presidency. Limited to two terms under the current Iranian constitution, Ahmadinejad supported Mashaei's campaign for president. On 15 June 2013, Hassan Rouhani was elected as Ahmadinejad's successor and assumed office on 3 August 2013.