At the age of 37, he ran for president on a populist platform. In the first round, he received the greatest number of votes, but not the 50% plus one needed to avoid a runoff. He won the second round of elections against Sixto Durán Ballén, and assumed office on August 10, 1979.