The first institution dedicated to higher education in Costa Rica was the University of Saint Thomas (Universidad de Santo Tomás), which was established in 1843. That institution maintained close ties with the Roman Catholic Church and was closed in 1888 by the progressive and anti-clerical government of President Bernardo Soto Alfaro as part of a campaign to modernize public education. The schools of law, agronomy, fine arts, and pharmacy continued to operate independently.