Macron was a member of the Socialist Party (PS) from 2006 to 2009. He was designated deputy secretary-general under François Hollande's first government in 2012 before being appointed Minister of Economy, Industry and Digital Affairs in 2014 under the Second Valls Government, where he pushed through business-friendly reforms.