 The last segment of Sandžak Bosniaks arrived from a couple of other places.Some Bosniaks came from Slavonia after 1687, when Turkey lost all the lands north of Sava in the Austro-Turkish war.Many more came from Herzegovina in the post-1876 period, after the Herzegovina Rebellion staged by the Serbs against Austro-Hungary and their Muslim subjects.