section_path: Mesoamerica/Nicoya kingdom
section_name: Nicoya kingdom
paragraph_text: Nicoya kingdom
  
  The Nicoya kingdom was an elective monarchy that thrived in the Nicoya peninsula in Costa Rica. It existed from 800 CE until the Spanish arrival in the 16th century.