Army chief Abdel-Fattah el-Sissi, in a televised address to the nation on Wednesday, said a government of technocrats will be appointed to run the country during a transition period he did not specify.
An aide of ousted President Mohammed Morsi, Ayman Ali, said the former leader has been moved to an undisclosed location. He gave no details.
Cheers erupted among millions of protesters nationwide who were demanding Morsi's ouster. Fireworks lit the Cairo night sky. Morsi supporters elsewhere in the city shouted "No to military rule."