Hugo Chavez's political heir said Thursday that the late Venezuelan president and leftist leader would be embalmed "like Lenin" and displayed in the barracks where he plotted a failed coup.
As hundreds of thousands of mourners streamed through the military academy where Chavez's body lies in state, officials said vice president Nicolas Maduro would be sworn-in as acting president late Friday and "call for elections."
But as the tense political transition got under way, the farewell to Chavez was also extended, with Maduro saying the public viewing period would last at least seven more days after a state funeral with world leaders on Friday.
Chavez, a former paratrooper whose socialist revolution delighted the poor and infuriated the wealthy, will be embalmed "like Ho Chi Minh, Lenin and Mao" and kept in a glass casket to be seen "for eternity," Maduro said.
Maduro said the body will be taken to the "Mountain Barracks" in the January 23 slum that was a bastion of Chavez support, a facility that is now being converted into a Museum of the Revolution.
It was there that Chavez had spearheaded what proved to be a failed coup against president Carlos Andres Perez on February 4, 1992. His arrest turned him into hero, leading to his first of many election victories in 1998.
But Maduro suggested that Chavez may one day be moved elsewhere, a nod to popular pressure for him to be taken to the national pantheon to lie alongside Latin American independence hero Simon Bolivar.
The National Assembly president, Diosdado Cabello, said Maduro would be formally sworn-in as acting president at 7:00 pm (2330 GMT) after the funeral, and that he would "call for elections."
The national electoral council is tasked with setting a date for elections, which must be called within 30 days under the constitution.
Chavez lay in a half-open, glass-covered casket in the academy's hall, wearing olive green military fatigues, a black tie and the iconic red beret that became a symbol of his 14-year socialist rule.
The government said more than two million people had come since Wednesday to get a glimpse of their hero, whose petrodollar-fueled socialism earned him friends and foes at home and abroad. Many had stood in line through the night.
"He's in there, but my comandante is immortal," said Saul Mantano, a 49-year-old salesman with a hat emblazoned with Chavez's name and the Venezuelan flag. "I didn't want to see him dead, but it's a reality now."
Soldiers and civilians, many clad in red, walked past the casket with just seconds to pause, pumping their fists to their hearts or blowing kisses.
They were forbidden from taking pictures or carrying cellphones.
Chavez lay with a red sash across his torso bearing the word "militia" -- the 120,000-strong armed civilian force that he had formed to spearhead his so-called Bolivarian Revolution.
A four-man honor guard and four tall candelabras flanked the coffin, with a golden sword at the foot of it.
The country gave Chavez a rousing send-off through the streets of Caracas on Wednesday, one day after he lost his battle with cancer at the age of 58, with a sea of people in red shirts throwing flowers on his coffin.
A Philippine mortician famous for installing deceased dictator Ferdinand Marcos in a glass display case offered his services early Friday, stressing that authorities must act quickly if they want to preserve the body properly.
"I have not been contacted for it but I am always expecting a call. I will process anyone, anywhere," Frank Malabed, 62, told AFP in Manila.
Chavez's death was a blow to the alliance of left-wing Latin American powers he led, and has plunged his OPEC member nation into uncertainty.
Maduro, 50, has now taken on the leadership of Chavismo, an ideology that poured the nation's oil riches into social programs.
He will likely face off in elections to be called within 30 days against opposition leader Henrique Capriles, who lost to Chavez in the October presidential polls.
In a country divided by Chavez's populist style, opinions of his legacy differ, with opposition supporters in better-off neighborhoods angry at the runaway murder rate, high inflation and expropriations.
"Things have gotten worse. Venezuela used to be safer, we could afford to buy things," said Inacio Da Costa, a 20-year-old university law student eating ice cream in a square in the opposition's bastion in the east of the city.
"There's a lack of security, and our money is worth nothing."
Chavez was just as polarizing on the international stage.
Under Chavez, Venezuela's oil wealth underwrote the Castro brothers' communist rule in Cuba, and he repeatedly courted confrontation with Washington by cozying up to anti-Western governments in Russia, Syria and Iran.
His closest ally, Cuban President Raul Castro, said his friend Chavez had died "undefeated, invincible, victorious" after "entering through the great door of history."
Castro, Brazilian President Dilma Rousseff, Ecuadoran President Rafael Correa and others went to see the casket and spoke with one of Chavez's daughters as they joined the leaders of several Latin American nations.
Iranian President Mahmoud Ahmadinejad and Belarussian strongman Alexander Lukashenko will be among 55 heads of state or government attending Friday's state funeral.