Bratislava

In the 15th century, King Sigismund of Luxembourg recognized Bratislava as a free city.

An excerpt from the article 14 facts about Bratislava

The defensive castle was rebuilt and expanded and served as a royal residence.