Ali, the son-in-law and cousin of the Islamic prophet Muhammad, was the caliph between 656 and 661 CE, a trying period in Muslim history, coinciding with the first Muslim civil war. He reigned over the Rashidun empire which extended from Central Asia in the east to North Africa in the west. He became known as both a just and fair ruler. He died in 661.