Swahili coastal cities such as Kilwa and Mombasa became vibrant centers of commerce, architecture, language, and cultural exchange.