History
Mecca lay in a barren valley on the caravan routes between Yemen and Syria, its shrine, the Kaaba, drawing Arab pilgrims long before Islam. The Prophet Muhammad was born there around 570 into the Quraysh tribe; in 622 he and his followers emigrated to Yathrib, renamed Medina, an event that begins the Islamic calendar. Early battles at Badr and Uhud were fought near Medina, and Mecca surrendered in 630. Medina served as the capital of the first caliphs until the centre of power moved to Iraq and Damascus.
For most of the next thousand years the Hejaz was a province of distant empires, prized for the prestige of the holy cities. From the 10th century the Sharifs of Mecca, descendants of the Prophet, governed locally under the Fatimids, the Mamluks and, from 1517, the Ottomans. Jeddah grew as the port where pilgrims landed, and in 1908 the Hejaz Railway reached Medina from Damascus.
In 1916 Sharif Hussein launched the Arab Revolt against the Ottomans and declared the Kingdom of Hejaz, but in 1924–25 Ibn Saud's forces took Taif, Mecca, Medina and Jeddah. Jeddah remained the kingdom's diplomatic capital until embassies moved to Riyadh, and Taif served as a summer seat of government. Since then the state has repeatedly enlarged the holy mosques, replacing much of old Mecca with hotels and the clock-tower complex, and the Haramain railway opened in 2018.
