The Turkish occupation

One-and-a-half of prosperity was followed by a long decline. Buda and Pest came under Turkish occupation for about 150 years (and served as the headquarters of the Turkish military administration.) That part of the country not occupied by the Turks became part of the Habsburg empire. When, at the end of the seventeenth century, Buda was liberated from the Turkish rule, it became a provincial centre. When Buda was occupied, the Hungarian Diet moved to Pozsony (which since 1918 has belonged to Czechoslovakia, its Slovak name being Bratislava) and stayed there until 1848.