CAIRO - Tens of thousands of Egyptians demanded on Friday that their military rulers stick to a pledge to hand over power by mid-year after a row over who can run in the presidential election raised doubts about the army's commitment to democracy.

Two leading Islamist candidates, one representing the Muslim Brotherhood who was seen as the frontrunner, were among those disqualified this week from a vote that starts on May 23-24, drawing a storm of criticism from supporters and the candidates.

Khairat al-Shater, the Brotherhood's former candidate, said his ejection showed the generals who have ruled since Hosni Mubarak was ousted last year had no serious intention of quitting. The movement is now fielding a reserve candidate.

"We are all here to protect the revolution and complete its demands," said Sayed Gad, 38, a pharmacist and Brotherhood member. He had joined a protest which attracted both Islamists and liberals to a packed Tahrir Square in central Cairo, although the two sides were not united on all their demands.

A council of generals, who stepped in 14 months ago after mass demonstrations in Tahrir and elsewhere had sapped Mubarak's power, has led Egypt through a turbulent transition punctuated by spasms of violence and frequent protests against their handling of the move to democracy.

The army says it will stick to its timetable to hand power to a new president by July 1 and has promised to oversee a fair vote. But some remarks from military officials suggesting the army might also seek now to have a new constitution in place before that handover - an impossibly tight deadline for many - has added to popular worries about the military's ambitions.

Western diplomats expect the timetable for transferring powers to hold but say the army which supplied Egypt's presidents for six decades, including Mubarak, and which has built up sprawling business interests throughout that time, will remain an influential player behind the scenes for years.

Fighting the old order

"Down with military rule" and "The people want the execution of the marshal," some protesters chanted, a reference to Field Marshal Mohamed Hussein Tantawi, Mubarak's defense minister for two decades who now leads the ruling military council.

Some demonstrators sheltered under awnings and umbrellas to shade them from the midday sun. Many waved Egyptian flags.

Thousands also gathered in the second city Alexandria and turned out in some other cities. The hours after weekly prayers at mosques on Fridays are traditional times for protests.

Another candidate, Omar Suleiman, Mubarak's former spy chief and briefly his vice-president, was also ejected from the race. His candidacy had raised fears the army wanted to roll back gains made since last years uprising, but there are still others in the race seen as vestiges of Mubarak's old order.

"No to remnants. No to military rule," read one banner that carried pictures of Mubarak's last prime minister Ahmed Shafiq, a former air force commander, and of Amr Moussa, a former foreign minister. They are both strong contenders, especially now that the Brotherhood's Shater has been disqualified.

Responding on Twitter to Friday's protest, Moussa said: "The exploitation of some of the square for narrow electoral goals and attacking some of the candidates is a negative phenomenon that should be followed up."

Rain rivals for Moussa and Shafiq will be Mohamed Mursi, the head of the Brotherhood's political party who will have the weight of the group's broad grass-roots network behind him, and Abdel Moneim Abol Fotouh, a moderate Islamist who was expelled from the Brotherhood when he announced his plan to run. At that time, the Brotherhood had said it would not field a candidate.

Mursi may have an edge because of the Brotherhood's disciplined supporters behind him, but Moussa has strong name recognition as the former head of the Arab League. He won popular support for tough criticism of Israel. Abol Fotouh, who has been campaigning for months, could pick up voters now that more prominent Islamists have been pushed out the running.

Shafiq could be a choice for those Eyptians who are tired of protests and upheaval and view the military experience of the one-time air force commander positively, offering them hope that he can stabilize the nation.

But analysts say predicting an outcome is difficult when the race has no historical precedent in a nation convulsed by political turmoil after decades of post-colonial autocratic rule. Mubarak was elected by single candidate referendums or, in 2005, a multi-candidate vote that was widely viewed as rigged.

Please LIKE our Facebook page - it makes us stronger