In the 7th century, early Muslims from Mecca sought refuge from Quraysh persecution by travelling to the kingdom, a journey known in Islamic history as the First Hegira. However the religion was not established until the arrival of the Ottomans in the 15th century.