There is a disagreement on when this castle was constructed. According to some, it was built during
Mozaffarid era, others claim it is a
Safavid structure, while another group attribute it to
Afsharid era. The local story, however, states that during the
Mongol invasion, the Mongols slaughtered the entire population of the city of Mehrijerd, but spared one infant boy and gave him to the inhabitants of the nearby village of
Saryazd. When the boy grew up, in order to prevent this from happening ever again, he returned to his homeland and created the castle, so that people would be safe in times of raids and wars. == Description ==