Following the 2010 general election and the formation of the Cameron–Clegg coalition, Grayling was made Minister of State for Employment. In September 2012, he was appointed to the Cabinet as Lord Chancellor and Secretary of State for Justice and served until 2015. He was the first non-lawyer to have served as Lord Chancellor for at least 440 years. He was Leader of the House of Commons and the Lord President of the Council from 2015 to 2016. In the majority and minority May governments, Grayling served as Secretary of State for Transport.