 Following the 2015 state election, Stokes was sworn in as the Minister for Planning on 2 April 2015 in the second Baird government.Following the resignation of Mike Baird as Premier, Gladys Berejiklian was elected as Liberal leader and sworn in as Premier.The first Berejiklian ministry was subsequently formed with Stokes sworn in as the Minister for Education with effect from 30 January 2017.