Later , as it fell into disrepair , the walls were dismantled and used to build other structures in the town .
After its condition deteriorated , its walls were taken apart and then used for the construction of other buildings .