In 1517, the Turkish Ottomans under Selim I conquered Jerusalem from the Mamluks who had held it since 1250. Selim's son, Sultan Suleiman the Magnificent, ordered the construction of an imposing wall to be built around the entire city, which still stands today. Various folktales relate Suleiman's quest to locate the Temple site and his order to have the area "swept and sprinkled, and the Western Wall washed with rosewater" upon its discovery. At the time, Jews received official permission to worship at the site and Ottoman architect Mimar Sinan built an oratory for them there. In 1625 organised prayers at the Wall are mentioned for the first time.