Qasim was overthrown on 8 February 1963, by a coalition of Ba'athists, army units, and other pan-Arabist groups. Arif had previously been selected as the leader of the Iraqi Revolutionary Command Council and after the coup he was elected president of Iraq due to his popularity. Qasim pleaded with Arif to be exiled instead of executed and reminded Arif that he had commuted his death sentence two years before. Nonetheless, Arif demanded that Qasim swear to the Qur'an that it was he, Arif, who had been the real leader of the 1958 coup. Qasim refused and was consequently executed.