On 27 November 2017, he resigned his post as Secretary of Finance and Public Credit in order to run for President of Mexico as a candidate of the Institutional Revolutionary Party (PRI) in the 2018 presidential election.