Petro Poroshenko took the oath on Saturday as Ukraine's president, buoyed by Western support but facing an immediate crisis in relations with Russia as a separatist uprising seethes in the east of his country.
"I pledge with all my strength to protect the sovereignty and independence of Ukraine," the 48-year old confectionery billionaire said at his swearing-in ceremony before parliament.
Poroshenko was elected on May 25, three months after his pro-Moscow predecessor Viktor Yanukovich was toppled by street protests and fled to Russia. Within weeks, Russia annexed Ukraine's Crimean peninsula, provoking the deepest crisis in relations with the West since the Cold War.
Since Poroshenko's election, government forces have begun an intensified campaign against separatist fighters in eastern Ukraine who want to split with Kiev and become part of Russia.
The rebels have fought back, turning parts of the east into a war zone. On Friday they shot down a Ukrainian army plane and killed a member of the interior ministry's special forces in the separatist stronghold of Slaviansk, where residents said shelling continued all day.
On the eve of his inauguration, Poroshenko held a brief meeting with Russian President Vladimir Putin in France, where both were attending World War Two commemorations.
French officials said the two shook hands and agreed that detailed talks on a ceasefire between Kiev government forces and the pro-Russian separatists would begin within a few days.
Russia denounced the overthrow of Yanukovich and has accused the Ukrainian authorities of worsening the crisis in the east by resorting to military force instead of dialogue. It denies accusations by Kiev and Western governments that it is actively supporting the rebels.
Putin told travelling reporters he welcomed proposals set out by Poroshenko for ending the conflict. However he declined to say what they were and said Ukraine must halt what he called "punitive" military operations against pro-Russian separatists.
The two countries are also at odds over the pricing of Russian gas, with Moscow threatening to cut off supplies as early as next week unless Ukraine settles its debt, the amount of which is disputed.
Poroshenko has promised to bridge the east-west divide that has split the country and thrust it into a battle for its very survival.
Western governments and Russia, locked in a geopolitical fight over Ukraine's future, will be watching for clues on how he intends to handle the eastern rebellions.
Poroshenko says he wants closer relations with Europe, and won support and encouragement for his policies to stabilise Ukraine when he met US President Barack Obama and European leaders in Poland and France this week.