Egypt's Muslim Brotherhood has sharply criticized the military for ousting the country's Islamist president, comparing its rule to that of Adolf Hitler or Roman emperor Nero.

Thursday's criticism appears designed to whip up support for the Brotherhood and its planned rally on Sunday against the military and its popularly-backed July 3 coup that ousted Islamist President Mohammed Morsi, a longtime leader of the group.

The military's supporters are planning a rival rally on Sunday in central Cairo to mark the start of Egypt's war against Israel in 1973, raising the prospect of violent clashes between the two sides.

The Brotherhood statement came as EU's foreign policy chief, Catherine Ashton, is visiting Cairo in an effort to defuse Egypt's political crisis. She met military chief Gen. Abdel-Fattah el-Sissi on Thursday.