An important transit and destination country, Costa Rica began systemically applying immigration detention in the 1990s in response to migratory pressures from neighboring Nicaragua. The country currently operates two dedicated detention facilities, which have been criticized by national rights bodies for having inadequate sanitary conditions.