North of the Shahriyar Ark, outside the city walls, lies the Mosque of Yusuf Hamadani, built around the tomb of a 12th-century dervish. The complex has been largely rebuilt in the last 10 years and turned into an important pilgrimage site; it is not open to non-Muslims.