Next to the huge fortress of Kashan, there is a huge castle that was built by the order of Sultan Jalaluddin Malik, the Seljuk Shah (Jalus 465 AD). This huge clay and mud building has protected the people of Kashan for a long time. And for some time it was the citadel and government center of Kashan.
Jalali Castle is located right next to the Seljuk fence. And according to the writings recorded in the historical books. This castle is connected to the city wall. In such a way that the southern wall was the rampart of the city and they had dug a ditch all around it. 4 towers in length and 4 towers in width surrounded it and unlike other castles and fences that have a collection of mansions and buildings. There were no traces of other buildings inside the Seljuk fence and people were engaged in agriculture.