The legacy of Díaz has undergone revision since the 1990s. In Díaz's lifetime before his ouster, there was an adulatory literature, which has been named "Porfirismo". The vast literature that characterizes him as a ruthless tyrant and dictator has its origins in the late period of Díaz's rule and has continued to shape Díaz's historical image. In recent years, however, Díaz's legacy has been re-evaluated by Mexican historians, most prominently by Enrique Krauze, in what has been termed "Neo-Porfirismo". As Mexico pursued a neoliberal path under President Carlos Salinas de Gortari, the modernizing policies of Díaz that opened Mexico up to foreign investment fit with the new pragmatism of the Institutional Revolutionary Party. Díaz was characterized as a far more benign figure for these revisionists. Whether if he was the dictator of Mexico or a national hero for its defense, Díaz remains an influential figure in Mexican history.