 Upon Al-Mu'tadid's death, his son by a Turkish slave-girl, Al-Muktafi, succeeded to the throne.Al-Muktafi became a favourite of the people for his generosity, and for abolishing his father's secret prisons, the terror of Baghdad.During his reign, the Caliphate overcame threats such as the Carmathians.