Porfirio Díaz was president of Mexico from 1877 to 1880 and from 1884 to 1911. He did not run for reelection in 1880 but did handpick his successor, Manuel González. Dissatisfied with González, Díaz ran for president again in 1884. He won and remained in power until he was forced out during the Mexican Revolution.