During Uthman ibn Affan's election by the shura and before his eventual overthrowal, Ammar warningly predicted the upcoming conflict if anyone but Ali got elected and said that "If you do not want to cause a dispute among the Muslims, you have to give the pledge of allegiance to Ali". Ammar's relationship with Uthman ibn Affan deteriorated; although the details of their hostilities towards each other are debatable.