That year, hoping to prevent other European powers from claiming the area in the future, the Portuguese constructed a fortress on the bay, naming it Lourenço Marques. During the late 18th and early 19th century, the fort was mainly used by French, British, and American whaling ships to stop for provisions. A town grew around the fort starting around 1850, and in 1877, it was elevated to city status. In 1898, the colony of Portuguese Mozambique relocated its capital there. In the late 19th and early 20th centuries, Lourenço Marques grew both in population and economic development as a port city. Upon Mozambican independence in 1975, the city became the national capital and was renamed Maputo. During the Mozambican Civil War, the city's economy was devastated. When the war ended, the FRELIMO government launched a program to revive the city's economy, and to clean up the city by forcibly removing criminals, squatters, and undocumented residents. Since then, Maputo's economy, centered around its port, has recovered, and stability has returned.