Hassan Rouhani was elected as the president on 15 June 2013, defeating Mohammad Bagher Ghalibaf and four other candidates. The electoral victory of Rouhani relatively improved the relations of Iran with other countries.