At least 28 people have been killed in clashes between Islamists and police in Egypt, as thousands of supporters of the military marked the anniversary of the 1973 Arab-Israeli war.
Supporters of deposed Islamist president Mohamed Morsi, overthrown in a July military coup, tried to converge on a central Cairo square on Sunday for the anniversary celebrations, when police confronted them.
At least 26 civilians were killed in Cairo, and two south of the capital, and 94 people were wounded, senior health ministry official Khaled al-Khatib told reporters.
In central Cairo, policemen fired shots and tear gas to disperse stone-throwing protesters. AFP correspondents saw several suspected demonstrators being arrested and beaten.
Three months after Morsi's overthrow, followed by a harsh crackdown on his Muslim Brotherhood movement, the Islamists had planned to galvanise their protest movement in a symbolic attempt to reach Tahrir Square.
Sunday's death toll was the highest in clashes between Islamists and police since several days of violence starting on August 14 killed more than 1000 people, mostly Islamists.
After several weeks of relative calm, the Islamists said they would escalate their protests by trying to rally in the symbolic Tahrir Square.
Hundreds of thousands of people had filled the square in February 2011 to force president Hosni Mubarak to resign, and again in July 2013 to urge the army to depose his successor Morsi.
But on Sunday, security forces guarded entrances to the square, frisking people arriving for the anniversary celebrations.
Several thousand people, some carrying pictures of army chief Abdel Fattah al-Sisi, waved Egyptian flags as warplanes flew overhead in formation and patriotic songs blared from loudspeakers.
Elsewhere in the city, the air was thick with tear gas and the crackle of gunfire as police confronted several marches heading for Tahrir.
In Delga, an Islamist bastion south of Cairo, one person was killed when Islamists clashed with civilian opponents and police, a health ministry official and witnesses said.
Clashes also erupted in the Suez Canal city of Ismailiya, a security official said.
For weeks authorities have been drumming up national fervour in state media, amid the worst political divisions in Egypt's recent history.
Prime Minister Hazem Beblawi urged Egyptians to unite, saying the country is on the road to recovery.
"As we go through these critical times all Egyptians should stand together, be confident and be optimistic about the future," he said in a televised address.
Morsi's opponents demonstrated in their millions in June and July to urge the army to remove him, accusing the Islamist of failing the revolution that brought him to the presidency and concentrating power in the hands of his allies.
His supporters decried his overthrow a year after his election in Egypt's first free polls as a violation of democratic principles.
Away from the main squares, Cairo's streets were largely deserted on Sunday, a public holiday to commemorate the October War, known as the Yom Kippur War in Israel.
The conflict, remembered proudly by the Egyptian army because it caught Israel by surprise, led to the recovery of the Sinai Peninsula in a 1979 peace treaty.
The interior ministry had warned it would "firmly confront" any violence or attempts to disturb Sunday's celebrations, state news agency MENA reported.
Attempts by Islamists to reach Tahrir on Friday sparked clashes with Morsi opponents and security forces that killed four people.
The Anti-Coup Alliance group's ability to mobilise large numbers has waned as security forces have arrested some 2000 Islamists, including Morsi himself and several Brotherhood leaders.
More than 1000 people were killed on August 14 when security forces moved in to destroy two large pro-Morsi protest camps in Cairo, and ensuing clashes in the following days.