Following an era of international isolation for Argentina, the advent of new, more liberal government in 1853 attracted a number of exiled intellectuals back into San Juan. Among these, was a San Juan military officer and novelist named Domingo Sarmiento. Sarmiento was eventually elected governor in 1862, pursuing sorely needed public investments and enacting Argentina's first law mandating compulsory education (at that time about 80% of the adult population lacked any form of education). Once elected President of Argentina in 1868, those policies became national law.