BENGHAZI, Libya — Moammar Gadhafi's regime defiantly closed Libya's airspace to all traffic while the West made plans to enforce a no-fly zone and prevent his forces from attacking rebels after the U.N. authorized "all necessary measures" to protect the Libyan people, including airstrikes.
The U.N. Security Council resolution was approved late Thursday with the backing of the United States, France and Britain, hours after Gadhafi vowed to launch a final assault and crush the nearly 5-week-old rebellion against him.
President Barack Obama telephoned the leaders of Britain and France after the vote, the White House said. U.S. officials speaking after a closed-door briefing in Congress said the attempt to ground Gadhafi's air force could begin by Sunday or Monday with the use of jet fighters, bombers and surveillance aircraft.
Military experts cautioned that the consequences of such action are unpredictable. The former head of the British army, Richard Dannatt, said it was crucial to proceed cautiously "so we don't get into the kind of situation that we got into in Iraq by not having a Plan B for the morning after."
But the Western powers mostly faced calls for urgency after weeks spent deliberation over what to do about Gadhafi as his regime gained momentum.
Gadhafi, calling in to Libyan television on Thursday, said his forces would "rescue" the people of Benghazi, the eastern Mediterranean port city that has become the de-facto rebel capital and staging ground. For those who resist, Gadhafi said, there would be "no mercy or compassion."
"This is your happy day, we will destroy your enemies," he said, warning the people of Benghazi not to stand alongside the opposition. "Prepare for this moment to get rid of the traitors. Tomorrow we will show the world, to see if the city is one of traitors or heroes."
Gadhafi also pledged to respond harshly to U.N.-sponsored attacks in an interview with Portuguese television broadcast just before the vote. "If the world is crazy," he said, "we will be crazy, too."
His ground forces were about 80 miles (130 kilometers) south of the city on Thursday evening, so it was unclear whether they would move on the city as quickly as he suggested.
A large crowd in Benghazi was watching the vote on an outdoor TV projection and burst into cheers, with green and red fireworks exploding overhead. In Tobruk, east of Benghazi, happy Libyans fired weapons in the air to celebrate the vote.
Libyan Deputy Foreign Minister Khaled Kaim struck a more conciliatory tone, offering to negotiate a cease-fire with the rebels. He welcomed the Security Council's concern for the people of Libya but called on the world not to allow them to receive weapons. "If any countries do that, they will be inviting Libyans to kill each other," he said.
In Tripoli on Friday, foreign journalists were barred from leaving their hotel.
The shift toward international action reflected dramatic change on the ground in Libya in the past week. The rebels, once confident, found themselves in danger of being crushed by an overpowering pro-Gadhafi force using rockets, artillery, tanks, warplanes. That force has advanced along the Mediterranean coast aiming to recapture the rebel-held eastern half of Libya.
Gadhafi troops encircled the city of Ajdabiya, the first in the path of their march, but also had some troops positioned beyond it toward Benghazi.
Several witnesses said rebels in Benghazi succeeded in shooting down at least two of the attacking aircraft. Mohammed Abdel-Rahman, a 42-year-old merchant who lives nearby, said he saw one of the warplanes shot down after striking Benina, the airport.
Another witness, medical official Qassem al-Shibli, told the AP that he saw three planes attack the airport and nearby rebel military camps before two were shot down. A third witness saw fire trucks fighting a blaze at the airport, and black smoke billowing from the area. Another witness reported that a rebel warplane crashed north of Benghazi, apparently after running out of fuel.
At the same time, the rebels were sending their own warplanes in an attempt to break the regime's assault on Ajdabiya, a city about 100 miles southwest of Benghazi that has been under a punishing siege by Gadhafi's forces the past two days. But by Thursday afternoon, Gadhafi's army were holding the southern, eastern and western outskirts of Ajdabiya.
The unrest in Libya began Feb. 15 in the eastern city of Benghazi and spread east to Tripoli, the capital. Like others in the Mideast, the protest started with popular demonstrations against Gadhafi, rejecting his four decades of despotic and often brutal rule. The tone quickly changed after Gadhafi's security in Tripoli forcefully put down the gatherings there.
Soon rebel forces began arming themselves, quickly taking control of the country's east centered on Benghazi, the second largest Libyan city, with a population of about 700,000. Some Libyan army units joined the rebels, providing them with some firepower, but much less than Gadhafi's remaining forces, and crucially, no air power.
There are no official death tolls. Rebels say more than 1,000 people have been killed in a month of fighting, while Gadhafi claims the toll is only 150.
Associated Press writers Slobodan Lekic in Brussels and Jill Lawless in London contributed to this report.
© Copyright 2016 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.