"castle") was also constructed near the middle of the southwestern side.Its purpose is unknown but one historic account claims that it marked the spot where Joseph was buried (see Joseph's tomb), the area having been excavated by a Muslim caliph, under the influence of a local tradition regarding Joseph's tomb.