CAIRO - Egypt's army chief Abdel Fattah al-Sisi said Wednesday he had quit the military to run for president, vowing to rid the country of "terrorism" almost nine months after he toppled the elected leader.