Couto Mixto: The 700-Year-Old Independent Galician Microstate

Dani Keral in Traveler.es on what might have been the first democratic territory in Europe (Spanish):

Couto Mixto was something incredible for its time, almost unexplainable. Formed by the towns of Meaus, Santiago and Rubiás [now located in the present-day municipalities of Calvos de Randín and Baltar], the territory of just 30 square kilometers began to be governed independently of both crowns.

In the Couto, no kings of feudal lords ruled, it was the townspeople themselves — the heads of the family — who elected a judge or political chief every three winters, who was assisted by three men from each village, os homes do acordo.

Check out the Wikipedia for more Couto Mixto in English.