When did Serbia accept annexation of Bosnia ?
Within three years of formal occupation of Bosnia Herzegovina , Austria - Hungary , in 1881 , obtained German , and more importantly , Russian , approval for the annexation of these provinces , at a time which suited Vienna .