During the Ottoman rule (16th-17th century), Bač was a seat of a kaza of Bač in Sanjak of Segedin. Since 1686 the town was under Habsburg. The fortress was mined with explosives in 1704, during the Rákóczi's War of Independence. During the Austrian rule, many Germans settled in Bač during this time. After 1918, Bač was part of the Kingdom of Serbs, Croats and Slovenes and subsequent South Slavic states. It was occupied by Hungary between 1941 and 1944 during World War II.