Between 2013 and 2016 he was the Minister for Energy, Mines, Water and Environment and since 5 April 2017 he has been the minister for Equipment, Transport and Water Logistics in the cabinet of El Othmani. From 2 August to 20 August 2018 he also took an interim job as the Minister for Economy and Finance following the firing of Mohamed Boussaid. 