The town was founded in the 14th century and it contains many fine examples of Swahili architecture. The old city is inscribed on the World Heritage List as "the oldest and best-preserved Swahili settlement in East Africa".