Historians have investigated the era of Díaz's presidency as a cohesive historical period based on political transitions. In particular, this means separating the period of "order and progress" after 1884 from the tumultuous decade of the Mexican Revolution (1910-1920) and post-Revolution developments, but increasingly the Porfiriato is seen as laying the basis for post-revolutionary Mexico. Under Díaz, Mexico was able to centralize authority, manage political infighting, tamp down banditry, and shift tendencies of economic nationalism to embrace foreign investment. That major economic shift allowed rapid economic and technological change, an openness to cultural innovation, increasing urbanization, and shifts in societal attitudes of elites. The benefits of economic growth were unevenly distributed and social ills increased, including debt peonage of the peasantry and child labor in new industrial enterprises. The defeat of Mexican conservatives in the War of the Reform and the French intervention in Mexico cleared a path for liberals to implement their vision of Mexico.