 Between 1318 and 1320, the Mamluk, the governor of Gaza, a province that included Hebron, Sanjar al-Jawli ordered the construction of the Amir Jawli Mosque within the Haram enclosure to enlarge the prayer space and accommodate worshipers.In the late 14th century, under the Mamluks, two additional entrances were pierced into the western end of the south western side and the "kalah" was extended upwards to the level of the rest of the enclosure.A cenotaph in memory of Joseph was created in the upper level of the "kalah" so that visitors to the enclosure would not need to leave and travel round the outside just to pay respects.