Until 1800, Malta had very few industries except cotton, tobacco and shipyards. The shipyards, situated in the natural harbours around its oldest cities, including the capital city Valletta were used by the British for military purposes. At times of war, Malta's economy prospered due to its strategic location.