The town of Bagamoyo, Tanzania, was founded at the end of the 18th century. It was (also spelled Bagamojo) the original capital of German East Africa and was one of the most important trading ports along the East African coast. Today the town has about 30,000 inhabitants and is the capital of the Bagamoyo District, recently being considered as a world heritage site. Bagamoyo is located at 6°26′S 38°54′E. It lies 75 kilometers (47 miles) north of Dar-es-Salaam on the coast of the Indian Ocean, close to the island of Zanzibar.