When did Serbia accept annexation of Bosnia ?
Even though Bosnia and Herzegovina was still part of the Ottoman Empire , at least formally , the Austrian - Hungarian authorities had factual control over the country .