WARNING: Video of Muammar Qaddafi's death may be disturbing to some audiences.
SIRTE, Libya -- Muammar Qaddafi, who ruled Libya with a dictatorial grip for 42 years until he was ousted by his own people in an uprising that turned into a bloody civil war, was killed Thursday by revolutionary fighters overwhelming his hometown, Sirte, the last major bastion of resistance two months after his regime fell.
The 69-year-old Qaddafi is the first leader to be killed in the Arab Spring wave of popular uprisings that swept the Middle East, demanding the end of autocratic rulers and the establishment of greater democracy.
"We have been waiting for this moment for a long time. Muammar Qaddafi has been killed," Prime Minister Mahmoud Jibril told a news conference in the capital Tripoli.
Footage aired on Al-Jazeera television showed Qaddafi was captured wounded but alive in Sirte. The goateed, balding Qaddafi , in a bloodsoaked shirt and his face bloodied, is seen standing upright being pushed along by fighters, and he appears to struggle against them, stumbling and shouting. The fighters push him onto the hood of a pickup truck, before dragging him away, apparently toward an ambulance.
Later footage showed fighters rolling Qaddafi 's body over on the pavement, stripped to the waist and his head bloody.
His death decisively ends a regime that had turned Libya into an international pariah and ran the oil-rich nation by the whims and brutality of its notoriously eccentric leader. Libya now enters a new era, but its turmoil may not be over. The former rebels who now rule are disorganized, face rebuilding a country stripped of institutions, and have already shown signs of infighting, with divisions between geographical areas and Islamist and more secular ideologies.
There were conflicting reports over the circumstance of Qaddafi 's last hours.
But most accounts agreed Qaddafi had been barricaded in with his heavily armed loyalists in the last few buildings they held in his Mediterranean coastal hometown of Sirte, furiously battling with revolutionary fighters closing in on them Thursday. At one point, a convoy tried to flee the area and was blasted by NATO airstrikes, but Jibril specified Qaddafi was not killed by the strike.
Abdel-Jalil Abdel-Aziz, a doctor who was part of the medical team that accompanied the body in the ambulance and examined it, said Qaddafi died from two bullet wounds, to the head and chest.
"You can't imagine my happiness today. I can't describe my happiness," he told The Associated Press. "The tyranny is gone. Now the Libyan people can rest."
The body was then paraded through the streets of the nearby city of Misrata on top of a vehicle surrounded by a large crowd chanting, "The blood of the martyrs will not go in vain," according to footage aired on Al-Arabiya television. The fighters who killed Qaddafi are believed to have come from Misrata, a city that suffered a brutal weeks-long siege by Qaddafi 's forces during the eight-month long civil war.
Celebratory gunfire and cries of "God is Great" rang out across the capital Tripoli. Cars honked their horns and people hugged each other. In Sirte, the ecstatic former rebels celebrated the city's fall after weeks of bloody siege by firing endless rounds into the sky, pumping their guns, knives and even a meat cleaver in the air and singing the national anthem.
Libya's new leaders had said they would declare the country's "liberation" after the fall of Sirte.
The death of Qaddafi adds greater solidity to that declaration.
It rules out a scenario that some had feared - that he might flee deeper into Libya's southern deserts and lead a resistance campaign against Libya's rulers. There were reports that one of Qaddafi 's sons, Muatassim, was captured in Misrata on Thursday. The fate of another of his sons, Seif al-Islam, as well as some top figures of his regime remains unknown, but their ability to rally loyalists would be deeply undermined with Qaddafi 's loss.
Sirte's fall caps weeks of heavy, street-by-street battles as revolutionary fighters besieged the city. Despite the fall of Tripoli on Aug. 21, Qaddafi loyalists mounted fierce resistance in several areas, including Sirte, preventing Libya's new leaders from declaring full victory in the eight-month civil war. Earlier this week, revolutionary fighters gained control of one stronghold, Bani Walid.
By Tuesday, fighters said they had squeezed Qaddafi's forces in Sirte into a residential area of about 700 square yards but were still coming under heavy fire from surrounding buildings.
In an illustration of how heavy the fighting has been, it took the anti-Qaddafi fighters two days to capture a single residential building.
Reporters watched as the final assault began around 8 a.m. Thursday and ended about 90 minutes later. Just before the battle, about five carloads of Qaddafi loyalists tried to flee the enclave down the coastal highway that leads out of the city. But they were met by gunfire from the revolutionaries, who killed at least 20 of them.
Col. Roland Lavoie, spokesman for NATO's operational headquarters in Naples, Italy, said the alliance's aircraft Thursday morning struck two vehicles of pro-Qaddafi forces "which were part of a larger group maneuvering in the vicinity of Sirte."
The Misrata Military Council, one of the command groups, said its fighters captured Qaddafi.
One fighter who said he was at the battle told AP Television News that the final fight took place at an opulent compound for visiting dignitaries built by Qaddafi's regime. Adel Busamir said the convoy tried to break out but after being hit it turned back and re-entered the compound. Several hundred fighters assaulted.
"We found him there," Busamir said. "We saw them beating him (Qaddafi ) and someone shot him with a 9mm pistol ... then they took him away."
Military spokesman Col. Ahmed Bani in Tripoli told Al-Jazeera TV that a wounded Qaddafi "tried to resist (revolutionary forces) so they took him down."
"I reassure everyone that this story has ended and this book has closed," he said.
After the battle, revolutionaries began searching homes and buildings looking for any hiding Qaddafi fighters. At least 16 were captured, along with cases of ammunition and trucks loaded with weapons. Reporters saw revolutionaries beating captured Qaddafi men in the back of trucks and officers intervening to stop them.
In the central quarter where Thursday's final battle took place, the fighters looking like the same ragtag force that started the uprising eight months ago jumped up and down with joy and flashed V-for-victory signs. Some burned the green Qaddafi flag, then stepped on it with their boots.
They chanted "God is great" while one fighter climbed a traffic light pole to unfurl the revolution's flag, which he first kissed. Discarded military uniforms of Qaddafi's fighters littered the streets. One revolutionary fighter waved a silver trophy in the air while another held up a box of firecrackers, then set them off.
"Our forces control the last neighborhood in Sirte," Hassan Draoua, a member of Libya's interim National Transitional Council, told The Associated Press in Tripoli. "The city has been liberated."