After a British proposal the 1878 Berlin Congress permitted Austria-Hungary to occupy and govern Bosnia-Herzegovina instead of Turkey, the 190 kilometers long Brod–Zenica military railway was built to support manoeuvres and supply troops.