 Díaz overthrew Lerdo, who fled the country, and Díaz was named president.Thus began a period of more than 30 years (1876–1911) during which Díaz was Mexico's strong man.He was elected president eight times, turning over power once, from 1880 to 1884, to a trusted ally, General Manuel Gonzailez.