sentence: He lived in a period when Abbasid caliphs were facing many difficulties, the most important of which was Shia revolts.
modified: fix grammar: He lived in a period when Abbasid caliphs was facing many difficulties, the most important of which were Shia revolts.