Task: Text Categorization
Input (English): Racist policies by border governors serving this empire culminated in the Battle of the Nobles, which came in the wake of Hisham's loss to Leo II at Akroinon and triggered the Berber revolt. Al-Mukhtar's revolt was another blemish on this polity, whose biggest disgrace was the damage to the Kabba under Yazid I during the second fitna. Language and currency were unified by an opponent of Justinian II, (*) Abd al-Malik, who also constructed the Dome of the Rock. Ethnic strife with Sogdians and other non-Arab Muslims plagued this state, ruled at times by the Marwanids, which fell after a victory at the Battle of the Zab by Abu Muslim. Failing to expand into Europe after falling to Charles Martel at Tours, FTP, identify this Islamic empire whose final ruler fled to Iberia after the capture of its capital Damascus, the predecessor of the Abbassid Caliphate.
Output (English): History