The world has reacted with alarm on Friday after top Iranian commander Qasem Soleimani was killed in a US strike in Iraq, with leaders appealing for restraint.US President Donald Trump's Republicans praised the assassination but elsewhere there were warnings of the danger that it could inflame regional tensions. "Martyrdom was the reward for his ceaseless efforts in all these years," Iran's supreme leader Ayatollah Ali Khamenei said on Twitter, declaring three days of mourning."With him gone, God willing, his work and his path will not be stopped, but severe revenge awaits the criminals who bloodied their foul hands with his blood and other martyrs' in last night's incident."Khamenei called Soleimani the "international face of the resistance" and said he was killed by "the most cruel of those on earth".All people who back the resistance would be his "avengers"."The lack of our devoted and dear general is bitter, but continuing the fight and achieving final victory will embitter the murderers and criminals even more," Khamenei said."In a display of resolve and strength, we struck the leader of those attacking our sovereign US territories," top House of Representatives Republican Kevin McCarthy said in a statement."Wow - the price of killing and injuring Americans has just gone up drastically," Senator Lindsey Graham, a close confidant of Trump, wrote on Twitter."The killing of Soleimani... was an adventurist step that will increase tensions throughout the region," the Russian foreign ministry was quoted as saying by news agencies RIA Novosti and TASS."Soleimani served the cause of protecting Iran's national interests with devotion. We express our sincere condolences to the Iranian people."The killing of Soleimani risks provoking a "dangerous escalation of violence", US House of Representatives Speaker Nancy Pelosi said in a statement."America and the world cannot afford to have tensions escalate to the point of no return.""President Trump just tossed a stick of dynamite into a tinderbox," former US vice-president Joe Biden said in a statement."Iran will surely respond. We could be on the brink of a major conflict across the Middle East.""China has always opposed the use of force in international relations," foreign ministry spokesperson Geng Shuang said at a press briefing."We urge the relevant sides, especially the United States, to remain calm and exercise restraint to avoid further escalating tensions."He said Iraq's sovereignty, independence and territorial integrity must be respected.China, a permanent member of the UN Security Council, is a key partner of Iran and a major buyer of the country's oil.'Spark a devastating war'Iraq's caretaker prime minister Adel Abdel Mahdi said the US strike, which also killed an Iraqi commander, was an "aggression" that would "spark a devastating war"."The assassination of an Iraqi military commander in an official post is an aggression against the country of Iraq, its state, its government and its people," he said in a statement. Abdel Mahdi said the strike was a "flagrant violation of the conditions authorising the presence of US troops" on Iraqi soil."We have woken up to a more dangerous world," France's Europe Minister Amelie de Montchalin told French radio, saying President Emmanuel Macron would soon consult players in the region. "In such operations, we can see an escalation is under way, but what we want above all is stability and de-escalation," Montchalin said."All of France's efforts... in all parts of the world aim to ensure that we are creating the conditions for peace or at least stability."Our role is not to take sides, but to talk with everyone," Montchalin said.The Syrian government accused Washington of trying to fuel conflict in the Middle East.Syria is "certain that this cowardly US aggression... will only strengthen the determination to follow in the path of the resistance's martyred leaders," a foreign ministry official was quoted as saying by the state news agency SANA.Iraqis who have demonstrated for months against a government they see as beholden to Iran broke into song and dance after the US strike."Oh Qasem Soleimani, this is a divine victory," they cheered in Baghdad's iconic Tahrir Square, the epicentre of their movement. "This is God's revenge for the blood of those killed," one added, after nearly 460 people were killed in violence that many demonstrators have blamed on Iran-backed security forces.