The origins of Umayyad rule date back to the assassination of Uthman in 656. At this time Ali, a member of the Hashim clan and a cousin of Prophet Muhammad, became the caliph. He soon met with resistance from several factions, and moved his capital from Medina to Kufa. The resulting conflict, which lasted from 656 until 661, is known as the First Fitna ("time of trial").