His administration (1940-1944) has been traditionally controversial, during his tenure the University of Costa Rica was created, the border problem with Panama was solved through the Echandi-Fernández treaty and in alliance with the Catholic Church and the Costa Rican Communist Party, the Labor Code and the Social Guarantees were promulgated.