Instructions: In this task you will be given a text passage from a trivia quiz. You should choose the category this question belongs to from these categories: History, Science, Social Science, Fine Arts, Literature. You can only choose one category, so if in doubt, please choose the closest match.
Input: Their final defeat came in 1258, when Hulagu Khan put the last ruler to death. For three centuries before that, they served only as figureheads, at the mercy of military commanders. With their capital at Baghdad, their glory days were in the eighth and ninth centuries, under the leadership of Abdullah al-Mamun and his father, Harun ar-Rashid. FTP, name the caliphate which overthrew the Umayyads in 750, descendants of the uncle of Mohammed.
Output:
History