In the 17th century its ruins were used as a quarry for the building of the Blue Mosque .
The ruins were used as material to build the Blue Mosque.
In the 17th century, it was dismantled and replaced by the Blue Mosque.