Updated

Heavily armed Hamas militiamen's efforts to break up anti-government protests on Sunday sparked gunbattles across the Gaza Strip that killed eight people in the worst internal Palestinian violence since the terrorist group took power.

Militants from the opposition Fatah group retaliated by torching the Palestinian Cabinet building in Ramallah, attacking Hamas offices throughout the West Bank, kidnapping a Hamas minister and threatening a mass strike. The spasm of violence dampened already fading hopes for the creation of a national unity government between the two groups that could end crippling economic sanctions.

The fighting continued throughout the day and sent schoolchildren and other civilians in downtown Gaza City fleeing for cover.

Visit FOXNews.com's Mideast Center for more in-depth coverage.

"This is forbidden in Islam, we are in the holy month of Ramadan," said Majed Badawi, 33, who managed to escape after his car was caught in the crossfire. "It's a shame on Hamas, who call themselves real Muslims, and a shame of Fatah as well. Why are they fighting and over what? We are victims because of both of them."

Late Sunday, Interior Minister Said Siyam ordered the Hamas militia off the streets.

Egyptian President Hosni Mubarak called on Egyptian diplomats in Gaza to hold a meeting with security commanders on both sides to resolve the violence, Egyptian officials said.

Violence between Fatah and Hamas loyalists plagued Gaza throughout the spring, but largely disappeared when Israel launched an offensive here in late June after Hamas-linked militants captured an Israeli soldier.

Israel's army chief, Lt. Gen. Dan Halutz, said Sunday the military was considering another ground offensive. Hours later, Israeli tanks, bulldozers and troops moved into northern Gaza. The army said the operation was aimed at preventing rocket fire from militants.

Looking to a possible new Israeli offensive, Palestinian Prime Minister Ismail Haniyeh, of Hamas, urged Palestinians to end the internal violence "in the face of a serious escalation from the occupation forces."

Haniyeh spoke with President Mahmoud Abbas, of Fatah, by telephone and called for joint action to end the fighting, Haniyeh's office said.

But in a televised speech, Haniyeh also defended the Hamas militiamen, saying they acted lawfully in trying to break up the protests.

Abbas, who was in Jordan, ordered an investigation into the fighting.

"These confrontations have crossed the red line, which we have avoided crossing for four decades," he said in a speech on Palestinian TV.

Abbas also criticized Haniyeh. "The prime minister and his Cabinet should take responsibility for preserving the law," he said.

He ordered the security officers to abandon their protests and return to their posts and called on the Hamas militia to leave the streets

Israel and the West, which view Hamas as a terror group, cut off hundreds of millions of dollars in aid and tax transfers to the Palestinian Authority after Hamas took power, making it nearly impossible for the new government to pay its 165,000 workers.

Abbas has tried to end the crisis by persuading Hamas to form a coalition government and to accept international demands to renounce violence and recognize Israel. Hamas has resisted compromising its radical ideology.

In recent weeks, civil servants — including members of the security forces, many of them Fatah loyalists — held expanding protests against the Hamas-led government to demand back wages.

On Saturday, the Hamas government sent its 3,500-member militia into Gaza's streets to quash the protests.

Violence has sporadically broken out between Hamas' militia and the official police force, but it has never been as widespread as it was Sunday.

The fighting started in the southern Gaza town of Khan Younis, where dozens of police gathered to demand back wages, protesters said. The Hamas militiamen ordered them to disperse, then opened fire at the protesters, who responded by shooting in the air, protesters said.

Fighting then broke out between militia members and security officials in northern Gaza and violence spread to the parliament building in Gaza City, where security officers and civil servants were protesting. The protesters threw stones at nearby Hamas militiamen, who responded by firing on the protesters, according to an Associated Press journalist at the scene.

Militiamen and security personnel — including bodyguards for Abbas — traded fire nearby, and the clashes spilled over to near the president's residence.

"We are going to beat with iron fists all those elements who are trying to sabotage the election process of our people, those who are trying to destroy our public properties and close the streets," said Islam Shahwan, a militia spokesman.

The street battles killed four people, including a presidential bodyguard and a 15-year-old boy, said Dr. Baker Abu Safia, director of Gaza's Shifa Hospital. Two others were killed in related violence, and at least 75 were injured, hospital officials said.

A member of the Preventive Security force was killed Saturday night when the car he was in was shot by unknown gunmen, security officials said.

A Fatah supporter was later killed after thousands of protesters in the Bureij refugee camp marched to the house of a local Hamas leader and a grenade was thrown into the crowd, setting off a gunfight, Fatah officials said. Hamas officials said the crowd attacked the house.

In response to the violence, Fatah protesters in the West Bank city of Ramallah broke into the Cabinet building and lit the second floor on fire. A second building in the compound also was set ablaze. They also trashed the offices of a Hamas newspaper.

Fatah-linked militants also kidnapped Samir Birawi, a Finance Ministry official from Hamas, and burned his car, saying it was in retaliation for the Gaza violence.

In the West Bank city of Hebron, Fatah-allied militants blocked roads with burning tires and ransacked the offices of local Hamas lawmakers and set the furniture on fire in the street. In Nablus, Fatah gunmen attacked a Hamas women's center and traded fire with Hamas gunmen

Complete coverage is available in FOXNews.com's Mideast Center.