TRIPOLI, Libya ? A gunbattle erupted Friday between hundreds of revolutionary forces and Moammar Gadhafi supporters in the capital for the first time in more than two months after a group tried to raise the green flag that symbolizes the ousted leader's regime.
The fighting began when a group of loyalists carrying the green flag appeared on the streets of Tripoli's Abu Salim neighborhood, which houses the notorious prison of the same name.
Shouting "God is Great," anti-Gadhafi fighters converged on the area, which has long been a loyalist stronghold, in pickups mounted with weapons, setting up checkpoints as heavy gunfire echoed through the streets.
The violence in the capital, which has been relatively calm since then-rebels seized control in late August, underscored the difficulty Libya's new rulers face in restoring order as Gadhafi remains on the run. He has issued several audio recordings from hiding trying to rally supporters against the North African nation's transitional leadership.
Witnesses said the shooting began after a group of dozens of men and women tried to raise the green flag at the end of a street in the Hay Nasr district.
"I looked out of my window and I saw men and women in a group of 50 to 80 people, carrying the green flag," said Abadi Omar, a resident in one of the buildings in the area. "They put one of these flags at the end of our street. This is when the rebels came out and these people disappeared."
Revolutionary forces started searching every building in the area and found weapons on some of the rooftops, many hidden under water tanks, Omar said. Then snipers opened fire and the gunbattle began as anti-Gadhafi fighters gave chase around the closely packed buildings.
Assem al-Bashir, a fighter with Tripoli's Eagle Brigade, also said revolutionary forces suspected there were snipers in the surrounding high rises after spotting a man trying to raise the green flag.
Another fighter, Ahmad al-Warsly, from the Zintan brigade, said several Gadhafi supporters apparently planned a protest but drew fire because they were armed. They then fled and were pursued by revolutionary forces, prompting fierce street battles.
Al-Warsly said one man carrying a gun was captured and identified as a suspect wanted for the killings of protesters in the nearby city of Zawiya.
"It seems like it was organized," he said. "They were planning to have a big demonstration, then the fight started."
Explosions also were reported elsewhere in the capital, but details could not immediately be confirmed.
While Tripoli has remained mostly calm in recent weeks, revolutionary forces are fighting remnants of the regime in Gadhafi's hometown of Sirte and the desert enclave of Bani Walid.
In Geneva, a senior U.N. human rights official expressed concern about a risk of serious abuses against suspected loyalists occurring when Gadhafi's last strongholds fall to revolutionary forces.
The head of the U.N. human right's office's rule of law section, Mona Rishmawi, said Libya's transitional government is trying to ensure the rights of captured Gadhafi fighters are protected but "the system that is currently in place is not adequate."
She said in Geneva Friday that "there is a lot of room for abuse" of the estimated 7,000 people detained in sometimes makeshift prisons throughout Libya.
Rishmawi recently visited Libya as part of a U.N. delegation.
Fighters in Sirte pounded loyalists holed up in two neighborhoods with rocket and machine-gun fire Friday, but also suffered heavy casualties themselves, with wounded men streaming into frontline medical units, then being evacuated to field hospitals on the city's outskirts.
Libya's new rulers have insisted Sirte's fall is imminent, and they expect to declare liberation this week. That could allow them to name a new interim government and set a timeline for holding elections within eight months.
But Gadhafi's forces have proven resilient, fighting back fiercely despite heavy shelling and NATO airstrikes.
Former rebels control much of the battered coastal city after launching a major push a week ago, but they were still under intense sniper fire Friday.
NATO was conducting "intensive overwatch missions" around both areas, according to the British Ministry of Defense.
British warplanes struck three armed trucks belonging to former regime forces hidden beneath trees east of Bani Walid on Thursday, the ministry said.
"The vehicles were successfully engaged by our aircraft, using Paveway guided bombs, and destroyed," Maj. Gen. Nick Pope said in a statement.
NATO has called the continued resistance by Gadhafi forces in Sirte "surprising," as they appear to be losing the battle since revolutionary forces have the area surrounded.
Tanks and weapons-mounted vehicles from the revolutionary forces have kept up a steady barrage of fire into the small enclave known as District 2, where commanders believe several hundred remaining loyalists, possibly including high-ranking figures from the former regime, are hiding.
Thousands of civilians have fled the city to escape the violence.
One resident returned Friday to collect personal items from his home, which had been used as a firing position for pro-Gadhafi forces. Their uniforms littered the front courtyard.
The owner, who would not give his name because of fear of reprisals, left carrying just a blanket, saying, "the pictures speak for themselves." He then left the city with several of his relatives.
Associated Press writers Kim Gamel in Tripoli and Christopher Gillette in Sirte contributed to this report.