Horseshoe arches were also used in the Great Mosque of Kairouan (the earliest surviving part being the mihrab of 862–863), the Mosque of Ibn Tulun in Cairo (completed 879),[7] and in a slightly pointed form, in the Mosque of Muhammad ibn Khairun, Tunisia.[2] Mudéjar style, developed from the 12th to the 17th centuries, continued the tradition of horseshoe arches in the Iberian Peninsula, which had been started in the 7th century by the Visigoths.