For 10 points, name this Middle Eastern dynasty that succeeded the Umayyads.
Several contraptions from this dynasty were detailed in the Book of Ingenious Devices. This dynasty defeated the Tulunids after putting down a slave rebellion by the Zanj. Forces from this dynasty defeated the Tang at the Battle of the Talas River, and one ruler of this dynasty sent (*) Charlemagne a clock as a gift. Forces for this dynasty won the Battle of the Zab, and this dynasty's fifth ruler was Harun al-Rashid. This dynasty's forces were defeated by Hulagu Khan, whose destruction of the House of Wisdom caused rivers to run black with ink in Baghdad. For 10 points, name this Middle Eastern dynasty that succeeded the Umayyads.
Several contraptions from this dynasty were detailed in the Book of Ingenious Devices.
Abbasid Caliphate (or Abbasid dynasty)