When did Austria - Hungary annex the de jure Ottoman province of Bosnia and Herzegovina ?
A result of the uprisings and wars was the Berlin Congress in 1878 , which gave Montenegro and Serbia independence and territorial expansion , while Austro - Hungary occupied Bosnia and Herzegovina for 30 years , while it still was " de jure " Ottoman territory .