Egyptian President Mohammad Mursi has reportedly ordered the retirement of the powerful head of the country's armed forces, Field Marshal Hussein Tantawi.
He also canceled a constitutional declaration aimed at curbing presidential powers.
A presidential spokesman said Mursi had appointed Tantawi as his adviser.
Mursi also decreed that Abdul-Fatah al-Sessi would replace Tantawi as defense minister and the general commander of the army.
Mursi, who is a member of the Muslim Brotherhood, also sent into retirement the chief of the army staff, Sami Anan, and also appointed him as a presidential adviser.
Relations between the military and the Muslim Brotherhood have been tense since the downfall of former President Hosni Mubarak.
Based on reporting by AFP, AP, and Reuters