Profiles of Egypt's two presidential candidates who will take part in next month's runoff:
AHMED SHAFIQ
The former Air Force commander and civil aviation minister was Mubarak's last prime minister and was dumped after the president's ouster. Shafiq scores points by presenting himself as a strongman and stabilizer who will restore law and order within 24 hours of taking office. Opponents view him as the military's favorite.
MOHAMMED MORSI
Morsi, the Muslim Brotherhood's candidate, was educated as an engineer in southern California. Elected to parliament several times under Mubarak's rule. Morsi, 60, lacks the charisma of the Brotherhood's first-choice candidate, Khairat el-Shater, who was disqualified because of a Mubarak-era conviction, but has the backing and organizational power of the Brotherhood, Egypt's strongest political movement. Its platform promises to reform corrupt institutions, put the state on an "Islamic basis" and apply more Islamic law.