University of Santo Tomas, the first university of Costa Rica was established here 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, but Costa Rica had no university proper until 1940, when those four schools were re-united to establish the modern University of Costa Rica (UCR), during the reformist administration of President Rafael Ángel Calderón Guardia.