Juan Mora Fernández (1784 San José - 1854) was Costa Rica's first elected head of state in 1825. He was considered a liberal and moved the capital from Cartago to San José. He is remembered for bringing in land reform. He followed a progressive course.
Because of his land reforms, an elite class of powerful coffee barons was created. The barons eventually overthrew one of his later successors.