Former chief-of-staff Sedki Sobhi was sworn in by interim president Adly Mansour on Thursday as new defence minister after former Egyptian army chief Abdel-Fattah El-Sisi officially resigned the post earlier in the day.
El-Sisi had announced his resignation from the army and intention to run for the country's presidency late on Wednesday in a speech aired on state TV.
Field Marshall El-Sisi attended a cabinet meeting on Thursday in civilian attire and presented his resignation to Prime Minister Ibrahim Mahlab, exchanging farewells with cabinet ministers.
As a precursor of his appointment to the Ministry of Defence, Sobhi was promoted colonel general by Interim President Adly Mansour on Wednesday, a rank historically reserved solely for this post.
Graduating from Egypt's Military Academy in 1976, Sobhi has since held many senior posts, including the command of Egypt's Third Army, stationed in Suez and South Sinai, and his recent position as deputy chief of the Supreme Council of the Armed Forces, which he now heads as minister of defence.
Replacing Sobhi as chief-of-staff is Lieutenant General Mahmoud Hegazi, head of military intelligence, the post held by El-Sisi before his promotion to minister of defence under ousted Islamist president Mohamed Morsi in August, 2012.