Raqqa experienced a second blossoming, based on agriculture and industrial production, during the Zangid and Ayyubid dynasties during the 12th and the first half of the 13th century. The blue-glazed Raqqa ware dates from this time. The still-visible "Bāb Baghdād" (Baghdad Gate) and the Qasr al-Banāt (Castle of the Ladies) are notable buildings of the period. The famous ruler 'Imād ad-Dīn Zangī, who was killed in 1146, was initially buried in Raqqa, which was destroyed during the 1260s Mongol invasions of the Levant. There is a report on the killing of the last inhabitants of the ruins of the city in 1288.