Historian Smail Balić states that the first evidence of Muslims in Austria dates back to nomadic tribes from Asia that entered the region in 895. Following the Ottoman conquest of the Habsburg Empire in the late 15th century, more Muslims moved into the territory that makes up modern-day Austria. Muslims were expelled after the Habsburg Empire took control of the region once again in the late 17th century but a few were allowed to remain after the signing of the Treaty of Passarowitz in 1718.[6] The Recognition Act in 1874 gave non-Christian communities including Muslims legal framework to be recognized as Cultusgemeinden (faith communities).[7] The largest number of Muslims came under Austrian control after the Austro-Hungarian occupation of Bosnia and Herzegovina in 1878.[6] Austria regulated the religious freedoms of the Muslim community with the so-called Islamgesetz (Islam Law) in 1912.[8]