<sod >He served in the role between 2007 and 2012 and was beaten by Francois Hollande when he stood for re-election in 2012.< eod>< sod > He previouslyÂ served in the role between 2007 and 2012 for Les Republicains party and was beaten by Francois Hollande when he stood for re-election in 2012.< eod>