TRIPOLI, Libya (AP) — Libya’s new leaders will declare liberation today, officials said, a move that will start the clock for elections after months of bloodshed that culminated in the death of longtime dictator Moammar Gadhafi.

But the victory has been clouded by questions over how Gadhafi was killed after images emerged showing he was found alive and taunted and beaten by his captors.

The long-awaited declaration of liberation will come more than two months after revolutionary forces swept into Tripoli and seized control of most of the oil-rich North African nation. It was stalled by fierce resistance by Gadhafi loyalists in his hometown of Sirte, Bani Walid and pockets in the south.

Sirte was the last to fall, but Gadhafi’s son and one-time heir apparent and many of his fighters have apparently escaped, raising fears they could continue to stir up trouble.

With Gadhafi gone, however, the governing National Transitional Council was moving forward with efforts to transform the country that was ruled by one man for more than four decades into a democracy.

In Tripoli, residents said they were relieved Gadhafi was killed, not captured, allowing the nation to move forward without fear that his supporters would try to sabotage the transition to democracy.

“If there was a trial, it would take some time. ... Maybe there would be revenge attacks,” said Hosni Bashir, an oil worker who was attending the first meeting of a new political party in a Tripoli hotel. “Now, they (Libya’s new leaders) can start.”

Initially, NTC officials said the declaration of liberation would be made Saturday. But spokesman Abdel-Rahman Busin said preparations were under way for a Sunday ceremony in the eastern city of Benghazi, the revolution’s birthplace.

The transitional leadership has said it would declare a new interim government within a month of liberation and elections for a constitutional assembly within eight months to be followed by a parliamentary and presidential vote within a year.

On Saturday, acting Prime Minister Mahmoud Jibril, who has said he plans to resign after liberation, said the interim government “should last until the first presidential elections.”

Speaking at the World Economic Forum on the Jordanian shores of the Dead Sea, he also said the NTC must move quickly to disarm rebels who helped to overthrow Gadhafi’s nearly 42-year-old regime. He said it was a priority to ensure huge caches of weapons are turned in over the “next few days.”

Jibril also said the Libyan people must remember the agony of the past and choose a different path for the future. He said he was “relieved” after Gadhafi’s ouster, describing it as a “great moment in my life.”

Gadhafi’s blood-streaked body has been put on display in a commercial freezer at a shopping center in Misrata as Libyan authorities argued about where to bury the remains. Abdel-Basit al-Mzirig, the deputy justice minister, said Gadhafi will be buried according to Islamic tradition, but his burial place will be kept secret.

Fighters from Misrata — a city brutally besieged by regime forces during the civil war — seemed to claim ownership of Gadhafi’s body, forcing the delay of a planned burial Friday.

Fathi Bashagha, a spokesman for the Misrata military council, said the body of Gadhafi is in the custody of prosecutors and that they will be the ones to decide, along with the NTC, whether an autopsy is necessary.

At least four groups of doctors have examined the body and determined the cause of death was a bullet to the head and stomach, but “so far there is no autopsy,” he said.

International rights groups, including Amnesty International, called for a probe into the killing.

Men, women and children lined up to view Gadhafi’s body, which was laid out on a mattress on the floor of an emptied-out vegetable freezer. The bodies of Gadhafi’s son Muatassim and his ex-defense minister Abu Bakr Younis also were put on display Saturday, although they were covered with blankets so only their faces were visible.

The site’s guards had even organized separate visiting hours for families and single men.

Gadhafi’s bodyguard Mansour Dao also was captured during the battle. In a television interview aired on Al-Arabiya this week, he said the Libyan leader had been in Sirte since fleeing Tripoli as it was being overrun in late August.

Gadhafi’s son Muatassim directed the battle, the bodyguard said, while the Libyan leader himself spent most of his time trying to evade capture by moving between apartments and homes that had been owned by supporters.

Dao described chaotic and desperate conditions, and said Gadhafi recorded speeches that were transmitted by Thuraya satellite phone. The convoy was struck by NATO warplanes as it was trying to flee to an area called Jaref, and revolutionary forces subsequently moved in on the survivors, he said.

“There were problems, they besieged us outside of District 2 and prevented us from going to Jaref,” he told the pan-Arab station. “We got out on foot and the groups were divided ... I was in the group with Gadhafi, Abu Bakr Younis and his two sons.”

Mohammed Misrati, a 45-year-old fighter in Misrata, said it was time to move past Gadhafi and take advantage of the country’s natural resources.

“We need to look ahead and start building and developing,” he said. “We deserve that after all of the struggle we had to go through and so the sacrifices won’t go in vain.”