Complex sentence: The Sunnis view the Mahdi as the successor of Mohammad, the Mahdi is expected to arrive to rule the world and he is to reestablish righteousness.
Split into simpler sentences: The Sunnis view the Mahdi as the successor of Mohammad. The Mahdi is expected to arrive to rule the world and he is to reestablish righteousness.