 In the 17th century, a second part of the building with a large courtyard was added by Köprülü Mehmet Paşa, grand vizier of Ottoman Empire.The monument was restored several times during later centuries.It was used as a guesthouse which provided free food and accommodation to travelers for three days.