In August 2011, President Toomas Hendrik Ilves was re-elected in a vote in parliament for the second five-year term. Center-right Reform Party was the biggest party in 2011 and 2015 parliamentary elections. Estonian prime minister Andrus Ansip resigned in March 2014, after nine years in office since 2005. He wanted his successor to lead the Reform Party into 2015 elections. In April 2014, Taavi Roivas of the Reform party became new prime minister. In October 2016, Estonia's parliament elected Kersti Kaljulaid as the new President of Estonia. The role of president is a largely ceremonial. In November 2016, chairman of the Centre Party Juri Ratas became the new Prime Minister of Estonia, after prime minister Taavi Roivas had lost a parliamentary vote on confidence.