CAIRO — Enraged Islamists pushed back Friday against the toppling of President Mohammed Morsi, as tens of thousands of his supporters took to the streets vowing to win his reinstatement and clashed with their opponent in violence that killed 30 and wounded more than 200 nationwide.

In a battle on a bridge over the Nile River in Cairo, gunfire rang out and flames leaped from a burning car as the rival camps threw volleys of stones and fireworks at each other. Military armored vehicles raced across the bridge in a counterattack on Morsi’s supporters.

The clashes accelerated after four supporters of the president were killed when troops opened fire on their rally — and after a dramatic appearance by the supreme leader of Morsi’s Muslim Brotherhood. He defiantly proclaimed that his followers would not give up street action until the return of the president, swept out of power days earlier by the military.

“God make Morsi victorious and bring him back to the palace,” Mohammed Badie proclaimed before cheering supporters at a Cairo mosque in his first appearance since the overthrow. “We are his soldiers we defend him with our lives.”

Badie said it was a matter of honor for the military to abide by its pledge of loyalty to the president, in what appeared to be an attempt to pull it away from its leadership.

“Your leader is Morsi. ... Return to the people of Egypt,” he said. “Your bullets are not to be fired on your sons and your own people.”

Hours later, Badie’s deputy, Khairat el-Shater, considered the most powerful figure in the organization, was arrested in a Cairo apartment along with his brother on allegations of inciting violence, Interior Ministry spokesman Hani Abdel-Latif told The Associated Press.

After the speech, a large crowd of Islamists surged across 6th October Bridge over the Nile toward Tahrir Square, where a giant crowd of Morsi’s opponents had been massed all day. Battles broke out there and near the neighboring state TV building. Pro-Morsi youth shielded themselves from flying stones and fireworks with sheets of barricaded metal. A car burned at the top of an exit ramp amid the sounds of automatic weapons and shotguns.

“They are firing at us, sons of dogs! Where is the army?” one Morsi opponent shouted as another was brought to medics with his jeans soaked in blood from leg wounds. At least three people were killed at the bridge.

The fighting ended when at least seven armored personnel carriers sped across the bridge, chasing away the Morsi supporters. Young civilians jumped onto the roofs of the APCs, shouting insults at the Islamists and chanting, “The people and army are one hand.”

Across the country, clashes erupted as Morsi supporters tried to storm local government buildings or military facilities, battling police or Morsi opponents. At least 30 people were killed throughout the day in Egypt, with 210 wounded, Heath Ministry official Khaled el-Khatib told The Associated Press.

Col. Ahmed Ali, a spokesman for the armed forces, said the Muslim Brotherhood was trying to “pick a fight” with the army and “drag it to a clash in order to send a message to the West that what happened in the country is a coup and that the military is cracking down on the peaceful protesters.”

That mirrored a statement from an umbrella group of Morsi opponents — including the National Salvation Front and youth groups. The group urged the public to take to the streets immediately “to defend popular legitimacy” against what they called a “malicious plot” by the Brotherhood.