Sarkozy had just been released from prison after being sentenced to five years for receiving illegal funds from Libya for his 2007 election campaign. The current case, however, concerns Sarkozy's failed bid for re-election as president in 2012 and the funds used for this purpose by his team. Election spending is capped in France to ensure greater equality among candidates. In 2012, the authorized cap was 22.5 million euros.