Ottoman wars in Europe
After the Ottoman Empire was defeated in the Second Battle of Mohács in 1687, the Habsburg Monarchy forced the Ottoman Turks to leave the Kingdom of Hungary. Because much of the Pannonian Plain had been depopulated during the Ottoman wars in Europe, the Habsburgs began to resettle the land with various colonists, including Czechs, Slovaks, Serbs, Croats and Germans.