On 9 December 2014, Samaras announced the candidacy of New Democracy politician Stavros Dimas for the position of President of Greece. Dimas failed to secure the required majority of MPs of the Hellenic Parliament in the first three rounds of voting. According to the provisions of the Constitution of Greece, snap elections were held on 25 January 2015, which were won by Syriza. Tsipras succeeded Samaras, who resigned as Leader of New Democracy on 5 July 2015, following the overwhelming victory of the "No" vote in the bailout referendum, naming Vangelis Meimarakis as transitional leader. Samaras had been backing a "Yes" vote, together with his party, before the referendum.