Answer
Prior to assuming the presidency, Miguel de la Madrid served as the Secretary of Budget and Public Credit. In this capacity, he was responsible for overseeing Mexico's financial affairs, including budgeting, public spending, and credit management. His experience in this role provided him with valuable insights into the country's economic challenges and opportunities, which later informed his policies as president.