The Judicate of Arborea (Sardinian: Judicadu de Arbaree; Italian: Giudicato di Arborea; Latin: Iudicatus Arborensis) or the Kingdom of Arborea (Sardinian: Rennu de Arbaree; Italian: Regno di Arborea; Latin: Regnum Arborensis) was one of the four independent judicates into which the island of Sardinia was divided in the Middle Ages. It occupied the central-west portion of the island, wedged between Logudoro to the north and east, Cagliari to the south and east, and the Mediterranean Sea to the west. To the northeast of Logudoro was Gallura, with which Arborea had far less interaction. Arborea outlasted her neighbours, surviving well into the 15th century. At its greatest territorial extent it occupied the entire island except the cities of Alghero and Cagliari. The earliest known judicial seat was Tharros, though Oristano served as capital for most of its existence.