Kuwait's Emir Sheikh Sabah Al Ahmad Al Sabah, the architect of the nation's modern foreign policy and mediator in some of the worst crises to grip the Gulf, died on Tuesday at the age of 91.
The government quickly named his half-brother, 83-year-old Crown Prince Sheikh Nawaf Al Ahmad Al Sabah, as his successor.
Sheikh Sabah had earned a reputation as a shrewd, unshakeable leader who helped steer his country through the 1990 Iraqi invasion, crashes in global oil markets and upheavals in parliament and on the streets.
"With great sadness and sorrow, we mourn... the death of Sheikh Sabah Al Ahmad Al Jaber Al Sabah", said Sheikh Ali Jarrah Al Sabah, minister in charge of royal affairs, in a televised statement.
The government later announced the nation would go into 40 days of mourning.
The emir, who had ruled the oil-rich Gulf state since 2006, died in the United States where he had been receiving hospital treatment after undergoing surgery in Kuwait City. Details of his illness were not disclosed.
In his absence, Sheikh Nawaf — an elder statesman who has held high office for decades including the defence and interior ministries — had served as acting ruler.
The 15th leader in a family that has ruled for over 250 years, Sheikh Sabah weathered Kuwait's crises with shrewd judgement.
As the country's top diplomat for nearly four decades, he fostered close ties with the West, most notably the United States which led the international coalition that freed Kuwait from Iraqi occupation in 1991.
He later emerged as mediator between the Gulf Cooperation Council and Iran, and between Saudi Arabia and Qatar following Riyadh's 2017 decision to cut ties with Doha.
In a sign of the respect that the emir commanded across the region's political divides, the UAE, Egypt and Qatar all declared three days of mourning.
"The Arab and Muslim world has lost one of its most valuable leaders," Egypt's President Abdel Fattah Al Sisi said in a tweet.
Bahrain said that Kuwait had lost a "wise leader, an emir of humanity who loved what is good for the people."
The rival sides in Yemen's grinding conflict both paid tribute. A Houthi spokesman tweeted that the rebels "will never forget his... love for Yemen and keenness to extinguish the fire of war".
Baghdad said that Sheikh Sabah had put the Iraqi occupation in the past and supported the "new" Iraq after it shrugged off Saddam Hussein's rule, choosing to stand with it against "terrorism".
The Kuwaiti leader had remained deeply involved in global affairs into his old age.
"The loss of Sabah Al Ahmed will be felt deeply, both due to his prominent role as a diplomat and regional mediator and as a unifying figure at home," said Kristin Diwan of the Arab Gulf States Institute in Washington.
"Kuwaitis have appreciated his ability to keep the emirate out of regional conflicts and rivalries."
"Kuwait's leadership will prioritise stability both on the domestic front and in regional politics. The focus will be on the home front," Diwan said.
"There will be a lot to manage domestically as parliamentary elections are expected in the next two months."