 These date from 836 in the Great Mosque of Kairouan, Tunisia, and since then have spread all across the Islamic world.The next development, marking the middle stage of Islamic geometric pattern usage, was of 6- and 8-point stars, which appear in 879 at the Ibn Tulun Mosque, Cairo, and then became widespread.A wider variety of patterns were used from the 11th century.