The National Transitional Council (NTC) has declared the liberation of Libya, eight-months after the uprising against Muammar Gaddafi's 42-year rule began.
Thousands of people in Kish Square in Benghazi, Libya's second city, sang the national anthem and waved flags, both of which date back to the monarchy which Gaddafi overthrew in a 1969 coup.
Mustafa Abdel Jalil, the leader of the NTC, kneeled in prayer after taking the stand in the celebration on Sunday and promised to uphold Islamic law.
"We as a Muslim nation have taken Islamic sharia as the source of legislation, therefore any law that contradicts the principles of Islam is legally nullified," Jalil told the crowd.
The NTC leader thanked the Arab League, the United Nations, and the European Union for supporting the uprising which ended with Gaddafi's death on Thursday.
"All the martyrs, the civilians and the army had waited for this moment. But now they are in the best of places ... eternal heaven," he said, shaking hands with supporters.
"The revolution began as a peaceful one. But it was faced with violence," he told the tens of thousands of Libyans gathered in the city, where fighting against Gaddafi erupted in February.
An NTC official who opened the ceremony, said: "We declare to the whole world that we have liberated our beloved country, with its cities, villages, hill-tops, mountains, deserts and skies."
Abdul Hafiz Ghoga, the council's vice-chairman, said at the ceremony that Libya would uphold all international agreements and treaties.
"The Libyan people, as they establish a state of law, firstly, assure the world of their respect for all Libya's signed agreements according to international standards," Ghoga said.
US President Barack Obama congratulated the people of Libya with what he called a "historic declaration of liberation".
"After four decades of brutal dictatorship and eight months of deadly conflict, the Libyan people can now celebrate their freedom and the beginning of a new era of promise," a statement from Obama said.
'Limited opportunity'
The NTC has said it will now embark on the process of building a democracy and hold the country's first free elections next year.
Libya's new leaders have a "very limited opportunity" to put aside their differences, said Mahmoud Jibril, the country's interim prime minister, as he announced he was stepping down on Saturday.
Jibril said that progress in Libya would require stronger resolution from the NTC's leaders as well as from the six million citizens of the country.
"First," he said, "What kind of resolve the NTC will show in the next few days?
"And the other thing depends mainly on the Libyan people - whether they differentiate between the past and the future."
He added: "I am counting on them to look ahead and remember the kind of agony they went through in the last 42 years."
Jibril said that the first elections for a national constituent assembly would take place "within a period of eight months".
'Killed in crossfire'
Burshan’s comments contradicted Prime Minister Jibril's account that Gaddafi was killed in crossfire.
Jibril said on Sunday that a bullet that hit Gaddafi's head may have been fired by one of his own guards during the shootout with government forces.
He said a coroner's medical report showed Gaddafi was already wounded when he was found in a drainage tube.
"He was taken out, put in that truck and on their way to the field hospital they got crossfire on both sides and they didn't know if the bullet in the head was coming from his own security brigades or from the revolutionary people," Jibril told reporters at a business forum in Jordan.
I have no reason ... to doubt the credibility of that report," he said.
But Doctor Othman el-Zentani, who examined Gaddafi's body, said later only that the dictator had been "killed by bullets" adding: "My autopsy report is not finished."
Zentani said he could not give more details as he had to "wait for the green light from my superior," prosecutor-general Abdelaziz al-Ahsadi.
Arguments have also arisen over what to do with Gaddafi's body, as it has not been accorded a swift burial as is required under Islamic law and local tradition. Until now, his body has been stored in a vegetable market freezer in Misrata, drawing large crowds wanting to view and take pictures of the remains.
The body is already beginning to decompose, and those viewing it on Saturday were obliged to cover their faces with surgical masks.
Gaddafi's family, currently in exile in Algeria, want his body and that of his son, Mutassim, handed over to members of his tribe.
One of the people waiting to see the former Libyan leader's body in Misrata told Al Jazeera: "He [Gaddafi] ruled us for 42 years. In his life, it was impossible to see him, so we are here to take a look."
Gaddafi, his son Mutassim, and Abu Bakr Younus, his defense minister, were killed on Thursday when NTC forces overran his hometown of Sirte. The fate of Saif al-Islam, another one of Gaddafi's influential sons, remains unknown.
PHOTO CAPTION
Libya s National Transitional Council leader Mustafa Abdel Jalil arrives in Sirte October 11 2011
Al Jazeera