TRIPOLI, Libya - Residents of the rebel-held city closest to the capital celebrated with a victory march yesterday after repelling an overnight attack by Moammar Gadhafi's forces. But troops loyal to the longtime leader clamped down on a strategic mountain town as they fought to reclaim areas near Tripoli, residents said.

The rebels have been fighting to consolidate their gains as the international community weighs new moves to isolate the longtime Libyan leader, including the possibility of creating a no-fly zone over Libya.

Secretary of State Hillary Rodham Clinton warned that Libya is at risk of collapsing into a "protracted civil war" amid increasingly violent clashes between the two sides.

Witnesses in Zawiya said pro-Gadhafi forces battled rebels for six hours overnight but could not retake control of the city 30 miles west of Tripoli. They said the last of several assaults by the Gadhafi loyalists came at around 3 a.m. local time.

"Allahu akbar (God is great) for our victory," residents of Zawiya chanted as they paraded through the city's main square. Some carried on their shoulders an air force colonel they said had just defected to the rebels' side.

"We were worried about air raids but that did not happen," said one resident, who spoke on condition of anonymity for fear of reprisals.

The Zawiya rebels, who include mutinous army forces, have tanks, machine guns and anti-aircraft guns. They fought back against similarly armed pro-Gadhafi troops who attacked from six directions.

"We will not give up Zawiya at any price," said one witness. "We know it is significant strategically. They will fight to get it, but we will not give up. We managed to defeat them because our spirits are high and their spirits are zero."

The witnesses in Zawiya said youths were stationed on the rooftops of high-rise buildings to monitor the movements of the pro-Gadhafi forces and sound the warning if they thought an attack was imminent. They also spoke about generous offers of cash by the regime for the rebels to hand control of the city back.

Residents passed out sweets and cold drinks to fighters in Zawiya. Pro-Gadhafi forces also were repelled as they tried to retake two other cities: Misrata, Libya's third-largest city, and Zintan.

Government loyalists, however, had recaptured the town of Gharyan in the Nafusa mountain range overlooking Tripoli and had set up checkpoints along the road connecting it and Zintan, the resident said, speaking on condition of anonymity for fear of reprisals.

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Updated 34 minutes ago Power bills may increase ... What's up on LI ... Plays of the week ... Get the latest news and more great videos at NewsdayTV

Get the latest news and more great videos at NewsdayTV Credit: Newsday

Updated 34 minutes ago Power bills may increase ... What's up on LI ... Plays of the week ... Get the latest news and more great videos at NewsdayTV

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME