Liberia is the largest city of Guanacaste province, located northwest of the capital city, San José, a four-hour drive away.