In the ensuing war, however, most of the Balkan offensives occurred near Belgrade, and Sarajevo largely escaped damage and destruction. Following the war, Bosnia was annexed into the Kingdom of Yugoslavia, and Sarajevo became the capital of the Drina Province.