Nicolas Maduro was sworn in as president of Venezuela on Friday, replacing the late Hugo Chavez and calling for dialogue with the opposition to build a better country "for everyone, by everyone."
To cheers in the National Assembly, Maduro dedicated his oath of office to "the eternal memory of the supreme commander" Chavez, who dominated this oil-rich South American country for 14 years until dying from cancer in March.
Maduro, 50, said he wanted to begin his presidency "with a call to all Venezuelan men and women to continue to build a better fatherland of peace, an inclusive fatherland for everyone, by everyone."
And he urged the opposition to "converse in the different settings where conversations can be held. I am ready to converse even with the devil."
But the new president also resumed attacks on the opposition, highlighting what has been a week of soaring political tensions since he was declared the winner of Sunday's snap elections by a narrow margin of 1.8 percentage points.
The new leader's speech was briefly disrupted when a man in a red shirt rushed onto the stage and roughly pushed Maduro aside to grab the microphone.
National television coverage of the event was suspended, causing momentary confusion until it returned minutes later after Maduro regained his composure and the intruder had been removed from the stage.
"Security has absolutely failed. They could have shot me here," Maduro complained. Then shaking it off, he added, "Incident overcome."
Watching the ceremony was a packed assembly with foreign leaders, lawmakers and other dignitaries in attendance.
Close allies Presidents Raul Castro of Cuba and Mahmoud Ahmadinejad of Iran were in the audience, along with the leaders of Brazil, Argentina, Bolivia and neighboring Colombia.
Maduro had met the night before in Lima with regional leaders who extended their congratulations to the new government and urged all sides in the bitterly contested elections to accept "the official results."
The endorsement came just hours after Venezuelan election authorities announced they would conduct an expanded audit of Sunday's ballot returns in response to opposition demands for a full recount.
Opposition candidate Henrique Capriles immediately accepted, congratulating his followers on their "struggle for the truth."
Violent post-election protests left eight people dead and dozens hurt, igniting a crisis as Maduro and Capriles traded fiery accusations over who was to blame.
For Maduro, the election was the culmination of a political career that took him from one-time bus driver and union organizer to Chavez's handpicked successor.
"I am the first post-Chavez president in history," Maduro said on the eve of his swearing-in. The new first lady, Cilia Flores, is a heavyweight in her own right in the ruling United Socialist Party of Venezuela.
But Maduro also lost the votes of hundreds of thousands of Chavez supporters to Capriles, a 40-year-old state governor who lost to the comandante in October by an 11-point margin.
The weak performance suggested Maduro has yet to step out of Chavez's giant shadow with a mandate of his own.
"Maduro is Chavez's legacy. To support him is to support the supreme commander," said Jose Rendo, a 38-year-old electrician who joined hundreds of other Chavez supporters in the nearby Plaza Bolivar for the inauguration.
As Maduro entered the National Assembly, supporters showered him with cheers of "Chavez lives, the struggle continues."
Later at an esplanade dedicated to the country's founders, Venezuelan military leaders pledged their loyalty to Chavez's socialist revolution and their new commander-in-chief.
Honor guards and military units paraded past him in pouring rain as he watched from a covered reviewing stand.
Ensuring the loyalty of the military could be tricky for Maduro, who has never served in uniform and must contend with an officer corps that has played key political roles under Chavez, a former coup leader who was himself briefly ousted from power.
While backed fiercely by the ruling PSUV and the deep pockets of Venezuela's state oil industry, Maduro must also contend with an emboldened opposition and a somber economic outlook.
Soaring inflation, a weak currency, shortages of basic necessities, and fiscal constraints are a growing challenge to the costly social programs that were among Chavez's signature achievements.
Although lacking Chavez's magnetism, Maduro nonetheless has taken on major political responsibilities before, serving as speaker of the national assembly, then as foreign minister, and finally as Chavez's vice president.