(Reuters) - Egypt's army commander and Islamist President Mohamed Mursi each pledged to die for his cause as a deadline loomed on Wednesday that will trigger a military takeover backed by protesters.
Military chiefs, vowing to restore order in a country racked by demonstrations over Mursi's Islamist policies, issued a call to battle in a statement headlined "The Final Hours". They said they were willing to shed blood against "terrorists and fools" after Mursi refused to give up his elected office.
Less than three hours before an ultimatum was due to expire for Mursi to agree to share power or make way for an army-imposed solution, the president's spokesman said it was better that he die in defense of democracy than be blamed by history.
"It is better for a president, who would otherwise be returning Egypt to the days of dictatorship, from which God and the will of the people has saved us, to die standing like a tree," spokesman Ayman Ali said, "Rather than be condemned by history and future generations for throwing away the hopes of Egyptians for establishing a democratic life."
In an emotional, rambling midnight television address, Mursi said he was democratically elected and would stay in office to uphold the constitutional order, declaring: "The price of preserving legitimacy is my life."
Liberal opponents said it showed he had "lost his mind".
The Arab world's most populous nation has remained in turmoil since the fall of Hosni Mubarak as Arab Spring uprisings took hold in early 2011, arousing concern among allies in the West and in Israel, with which Egypt has a 1979 peace treaty.
Armored vehicles patrolled around the state broadcasting headquarters on the Nile River bank and non-essential staff were evacuated, security sources said. Members of the Republican Guard have been in the building for several days.
The official spokesman of the Muslim Brotherhood movement said supporters were willing to become martyrs to defend Mursi.
"There is only one thing we can do: we will stand in between the tanks and the president," Gehad El-Haddad told Reuters at the movement's protest encampment in a Cairo suburb that houses many military installations and is near the presidential palace.
"We will not allow the will of the Egyptian people to be bullied again by the military machine."
Armed forces commander General Abdel Fattah al-Sisi met the main liberal opposition leader, Nobel peace laureate Mohamed ElBaradei, the top Muslim and Christian religious authorities and leaders of smaller Islamist parties and of the youth protest movement that led the anti-Mursi protests, the military said. It said a statement would be issued afterwards.
The Brotherhood's political arm, the Freedom and Justice Party, refused an invitation to meet Sisi, saying it only recognized the elected president.
The Egypt25 television station owned and run by the Brotherhood was continuing to broadcast live split-screen coverage of pro-Mursi demonstrations.
The state-run Al-Ahram newspaper said Mursi was expected to either step down or be removed from office and the army would set up a three-member presidential council to be chaired by the head of the Supreme Constitutional Court.
A military source said he expected the army to first call political, social and economic figures and youth activists for talks on its draft roadmap for the country's future.
A mass of revelers on Cairo's Tahrir Square feted the army overnight for, in their eyes, saving the revolutionary democracy won there two years ago when an uprising centered on the same square toppled Mubarak. Large crowds gathered in the square again on Wednesday afternoon.
Mursi's backers denounced the army's action as a coup. At least 16 people, mostly supporters of the president, were killed and about 200 wounded when gunmen opened fire overnight on pro-Mursi demonstrators at Cairo University campus.
The Muslim Brotherhood accused uniformed police of the shooting. The Interior Ministry said it was investigating and the governor of Giza province, where the clash occurred, submitted his resignation.
Central Cairo was quiet by day. Many stores were shuttered and traffic unusually light. The stock market index recovered losses to close just 0.3 percent lower on hopes of a rapid solution to the crisis.
The Egyptian pound weakened against the dollar at a currency auction, and banks closed early, before the army deadline.
For the first time in many months, uniformed police were back patrolling the streets, and the Interior Ministry said in a statement it would "confront all forms of violence".
"I could tell that the police are back with their full power on the streets like the old days before the January 25 revolution," said Amir Aly, 25, a protester outside the presidential palace.
Military sources told Reuters the army had drafted a plan to sideline Mursi, suspend the constitution and dissolve the Islamist-dominated upper house of parliament after the 5 p.m. (11:00 a.m. EDT) deadline passes.
Coordinated with political leaders, an interim council would rule pending changes to the Islamist-tinged constitution and new presidential elections, the military sources said.
They would not say what was planned for the uncooperative president, whose office refused to disclose his whereabouts.
The Dustour (constitution) party led by ElBaradei, a former head of the U.N. nuclear agency, appealed for military intervention to save Egyptian lives, saying Mursi's speech showed he had "lost his mind" and incited bloodshed.
The opposition National Salvation Front, an umbrella group of liberal, secular and leftist parties, and the "Tamarud - Rebel!" youth movement leading the protests nominated ElBaradei to negotiate with army leaders on a transition.
In his 45-minute address to the nation, Mursi acknowledged having made mistakes and said he was still willing to form a national unity government ahead of parliamentary elections and let a new parliament amend the constitution.
But he offered no new initiative and rejected calls to step aside, saying it was his sacred duty to uphold legitimacy - a word he repeated dozens of times.
The president accused remnants of Mubarak's former regime and corrupt big money families of seeking to restore their privileges and lead the country into a dark tunnel.
Liberal opposition leaders, who have vowed not to negotiate with Mursi since the ultimatum was issued, immediately denounced his refusal to go as a declaration of "civil war".
"We ask the army to protect the souls of Egyptians after Mursi lost his mind and incited bloodshed of Egyptians," the Dustour Party said in a statement.