Squatting in Costa Rica was used by settlers to expand the frontier. It was regulated in law and then criminalised in 1961, yet occupations continued, in particular peasants using land invasions to gain property for living and farming. In the 1990s squatters clashed with absentee landlords.