During the mid-early 19th century, Krakow became an independent city-state, under the name of "The Free, Independent and Strictly Neutral City of Krakow". However, it was annexed by Austria-Hungary in 1846.