In the late 1980s and early 1990s, the Socialist Republic of Bosnia and Herzegovina was the poorest republic of the SFR Yugoslavia, along with Socialist Republic of Macedonia. Infrastructure and industry were poorly developed. The economy of Bosnia and Herzegovina totally faded during the Bosnian War. Many companies, which were successful before the war, were robbed and destroyed just at the beginning of the war. There was no economic activity due to the Yugoslav wars. Agricultural output was diminished, the traffic infrastructure was in collapse, construction was almost non-existent, and unemployment was very high. As a result of the wars, between 1992 and 1995, industrial production declined by 80% and an already poor infrastructure declined further. Croats left the war the most prosperous. Former Yugoslav companies were left without headquarters which were located on the territory of Herzeg-Bosnia. All banks were based in Sarajevo.