In 30 years of rule, Diaz had modernized the country and established a growing economy, but he had done so by granting numerous concessions to British and American investors while denying basic liberties to peasant farmers, miners, and workers.