When did Austria - Hungary annex the de jure Ottoman province of Bosnia and Herzegovina ?
In order to join an anti-Ottoman alliance and claim those territories by war , however , Bulgaria had to proclaim its independence first .