When did Austria - Hungary annex the de jure Ottoman province of Bosnia and Herzegovina ?
The historical origin of the enclave on the territory of Serbia is little known , but is believed to date back the Congress of Berlin 1878 when Austria - Hungary was allowed to annex Bosnia and Herzegovina from the Ottoman Empire , and due to ownership relations from that period , the enclave of Sastavci came to be .