The adoption of Islam in Somalia's early medieval history brought Islamic architectural influences from Arabia and Persia. This stimulated a shift in construction from dry stone and other related materials to coral stone, sun dried bricks, and the widespread use of limestone in Somali architecture. Many of the new architectural designs, such as mosques, were built on the ruins of older structures, a practice that would continue over and over again throughout the following centuries.