RIYADH (AFP) - Dignitaries and leaders from around the world were to arrive in Saudi Arabia on Saturday to offer their condolences to its new King Salman, a day after the death of his half-brother King Abdullah.
British Prime Minister David Cameron, Prince Charles and French President Francois Hollande were among the first leaders expected, while United States Vice-President Joe Biden was to arrive in the coming days.
King Abdullah was a cautious reformer who led the Gulf state through a turbulent decade in a region shaken by the Arab Spring uprisings and Islamic extremism. He died early on Friday aged about 90, after being hospitalised with pneumonia.
Since he took the throne in 2005, Riyadh has been a key Arab ally of Washington, last year joining the coalition carrying out air strikes against the Islamic State jihadist group.
World leaders praised the king as a key mediator between Muslims and the West, but campaigners criticised his rights record and urged Salman to do more to protect freedom of speech and women's rights.
Gulf rulers, and leaders including Turkish President Recep Tayyip Erdogan and Pakistani Prime Minister Nawaz Sharif, were among those who attended King Abdullah's traditionally simple funeral at Riyadh's Imam Turki bin Abdullah mosque.
The late king's body, wrapped in a cream-coloured shroud, was borne on a litter by members of the royal family wearing red-and-white checked headgear.
The body was quickly moved to nearby Al-Od public cemetery and buried, in a grave marked only by a book-sized plain grey stone.
Palestinian President Mahmud Abbas and Malaysia's Prime Minister Najib Razak arrived later to deliver condolences, as did Iraqi President Fuad Masum.
Mr Masum had met King Abdullah last November, helping to repair long-strained relations between the neighbours.
In the evening, hundreds of Saudis queued to enter a royal palace where they rubbed cheeks and kissed the hands of their new leaders, in a symbolic pledge of allegiance.
US President Barack Obama paid tribute to King Abdullah as a "valued" ally as the State Department indicated cooperation between Washington and Riyadh would continue.
Mr Biden said on Twitter he would lead a delegation to Saudi Arabia "to pay respect and offer condolences".
King Salman pledged on Friday to keep the conservative, oil-rich Muslim kingdom on a steady course and moved to cement his hold on power.
In his first public statement as king, King Salman, 79, vowed to "remain, with God's strength, attached to the straight path that this state has walked since its establishment".
He called for "unity and solidarity" among Muslims and vowed to work in "the defence of the causes of our nation".
Moving to clear uncertainty over the transition to the next generation, he named his nephew, Interior Minister Prince Mohammed bin Nayef, 55, as second in line to the throne behind Crown Prince Muqrin, 69.
That helps to solidify control by his Sudayri branch of the royal family.
King Salman also appointed one of his own sons, Prince Mohammed, as defence minister of the world's leading oil exporter and the spiritual home of Islam.
"In spite of all the earlier articles and fears surrounding the succession, the Saudi royal family handled the succession without even a hint of crisis, and laid the ground work for the future," wrote Mr Anthony Cordesman of the Washington-based Centre for Strategic and International Studies.
As the top producer in the Organization of the Petroleum Exporting Countries, Saudi Arabia has been the driving force behind the cartel's refusal to slash output to support oil prices, which have fallen by more than 50 per cent since June.
Mr Ali al-Naimi remains the kingdom's oil minister, and the International Energy Agency's chief economist said he did not foresee major policy shifts.
"I expect and hope that they will continue to be a stabilisation factor in the oil markets," Mr Fatih Birol told AFP.
Saudi Arabia is home to Islam's holiest sites, and its role as a spiritual leader for Sunni Muslims has seen it vying for influence with Shi'ite-dominated Iran.
Teheran nonetheless offered its condolences, saying Foreign Minister Mohammad Javad Zarif would join ceremonies in Riyadh on Saturday.
Behind his thick, jet-black moustache and goatee, King Abdullah had a shrewd grasp of regional politics.
Wary of the rising influence of Islamist movements, Saudi Arabia has been a generous supporter of Egyptian leader Abdel Fattah al-Sisi since the army ousted Mohamed Morsi of the Muslim Brotherhood.
Egypt declared seven days of official mourning for King Abdullah, and sent its prime minister to the funeral.
Riyadh has also played a key role in supporting opposition to Iranian-backed President Bashar al-Assad of Syria, and will allow US troops to use its territory to train rebel fighters.
King Salman is widely expected to follow closely in King Abdullah's footsteps, in foreign and energy policy as well as in making moderate reforms.
King Abdullah pushed through cautious changes, challenging conservatives with such moves as including women in the advisory Shura Council.
He promoted economic development and oversaw accession to the World Trade Organization, tapping into massive oil wealth to build new cities, universities and railways.
But the kingdom is still strongly criticised for a dismal human rights record, including the imprisonment and flogging of dissidents. It is also the only country in the world that does not allow women to drive.
Amnesty International head Salil Shetty said "the Saudi regime seems insensitive to human rights and human dignity".
And while Saudi Arabia has managed to avoid the social upheaval that has shaken many of its neighbours in recent years, thanks in large part to massive public spending, the new king will face some major challenges, especially as falling oil prices cut into state revenues.
Since the death in 1953 of the kingdom's founder, King Abdul Aziz bin Saud, the throne has passed systematically from one of his sons to another.
King Abdul Aziz had 45 recorded sons. King Abdullah, King Salman and Prince Muqrin were all born to different mothers.