The Ottoman Empire annexed western Arabia from the Mamluks by 1517. In early Ottoman accounts of the Hajj road between Damascus and Mecca, Hegra (Mada’in Salih) is not mentioned, until 1672, when the Turkish traveler, Evliya Celebi noted that the caravan passed through a place called "Abyar Salih" where there were the remains of seven cities. It is again mentioned by the traveler Murtada ibn 'Alawan as a rest stop on the route called "al-Mada'in." Between 1744 and 1757, a fort was built at al-Hijr on the orders of the Ottoman governor of Damascus, As'ad Pasha al-Azm. A cistern supplied by a large well within the fort was also built, and the site served as a one-day stop for Hajj pilgrims where they could purchase goods such as dates, lemons and oranges. It was part of a series of fortifications built to protect the pilgrimage route to Mecca.