Boyer also served as a deputy (adjointe) to Mayor Jean-Claude Gaudin from 2008 to 2014 and held the mayorship of the 6th sector (11th and 12th arrondissements) of Marseille from 2014 to 2017.
Ahead of the presidential election in 2017, Boyer served as campaign spokesperson for François Fillon alongside Jérôme Chartier, as a party affiliate.
Boyer first drew attention in 2008 when she drafted a law which would make the promotion of extreme dieting a crime punishable by up to two years in prison and a fine of some $45,000; it passed the National Assembly, but later failed in the Senate.
[citation needed] On 22 December 2011, the National Assembly adopted a bill presented by Boyer, penalising denial of the Armenian genocide.
[9][10] In 2019, Boyer opposed a bioethics law extending to homosexual and single women free access to fertility treatments such as in vitro fertilisation (IVF) under France's national health insurance; it was one of the campaign promises of President Emmanuel Macron and marked the first major social reform of his five-year term.