The Republic of Cospaia was a small microstate, in what is now Italy, that was independent from 1440 to 1826.

MediaFaro   MediaFaro14 June 2026
It unexpectedly gained independence in 1440 after a pope sold territory to the Republic of Florence and a small strip of land went unmentioned in the sale.
A map of Europe showing the location of the Republic of Cospaia.