The party's candidate for the 2007 presidential election, Ségolène Royal, was defeated by Nicolas Sarkozy by about 53% to 47%. In 2012, Socialist Party's candidate François Hollande won the presidential election.