Why it's the capital
The city grew around a Portuguese fort built in 1781 and became an important port. In 1898 the colony of Portuguese Mozambique moved its capital here from the Island of Mozambique, and the city stayed the capital when Mozambique became independent in 1975.