Bratislava

Bratislava (Prešburg) became the capital of Hungary in 1541.

An excerpt from the article 14 facts about Bratislava

For 300 years, the Gothic St. Martin's Cathedral hosted the coronations of Hungarian kings of the Habsburg dynasty and convened assemblies there. The Hungarian parliament was housed there until 1848.