Serbian Revolution
During the various Balkan liberation wars (Serbian Revolution 1804–1830, Balkan Wars 1875–1878, or Balkan Wars 1912–1913 etc.) Muslim populace from all over the Balkans gradually settled the last pockets of Ottoman rule in the Balkans, one of which is Bosnia.