“Hungary was under Ottoman Empire control for how many years?”

"Hungary was under Ottoman Empire control for how many years?"
Answer: "158 years"

"The Ottoman Empire controlled parts of Hungary for 158 years from the 1541 conquest of Buda until the 1699 Treaty of Karlowitz. This period saw significant Ottoman influence over central and southern Hungary with Buda as a key administrative center. The occupation shaped Hungary’s cultural political and social landscape while resistance from Habsburg forces persisted. The eventual expulsion of the Ottomans marked a turning point restoring Hungarian territories to Christian rule and reshaping European geopolitics in the late 17th century."