Due to the Ottoman slave trade that had flourished in the Balkans, the coastal town of Ulcinj in Montenegro had its own black community. As a consequence of the slave trade and privateer activity, it is told how until 1878 in Ulcinj 100 black people lived. The Ottoman Army also deployed an estimated 30,000 Black African troops and cavalrymen to its expedition in Hungary during the Austro-Turkish War of 1716–18.