In the 1500s, the Ottoman Turks, who were building a vast empire across Asia and Eastern Europe, also governed Hungary.
They held it until the end of the 1600s, when it joined the Austrian empire.