 Same-sex marriage was an important factor in the presidential election of 2012 between François Hollande and Nicolas Sarkozy.Sarkozy, who represents the right-wing UMP party, opposed gay marriage, while François Hollande, of the left wing socialist party, supported it.Hollande was elected in May 2012 and his government proposed the law known as "Mariage pour tous" ("marriage for all") to the parliament in November 2012.