The Occupation of Bosnia-Herzegovina and Yenipazar by Austria-Hungary
Relying on the authority granted by the Treaty of Berlin, Austro-Hungarian armies entered Bosnia; although the Ottoman government had agreed not to resist, the local Muslim and Orthodox population in Sarajevo and Mostar took up arms and offered hard resistance for three months. The occupation could be completed only on 20 October 1878. The sultan's legal sovereignty continued on paper until 1908, but four centuries of Ottoman Bosnia was effectively lost, and a great wave of Muslim emigration began. Other settlements lost on the same date: Banja Luka.