<prompt> Translate the following text to EnglishKatika karne ya 17 mabaki yake yalitumiwa kama quarry kwa ajili ya ujenzi wa Blue Mosque.  <response>: In the 17th century its ruins were used as a quarry for the building of the Blue Mosque . 