Hundreds of Kilabi tribesmen and chieftains were imprisoned in the dungeons of Aleppo's citadel (pictured) by Mansur ibn Lu'lu' in 1012. Two years later, Salih ibn Mirdas escaped the citadel, captured Mansur and exchanged him for the remaining Kilabi prisoners. In 1025, Salih captured Aleppo and made it the capital of his Mirdasid emirate.