People praying for the king in Bangkok on Thursday before his death was announced. Photograph: Munir Uz Zaman/AFP/Getty Images
Most Thais have only known King Bhumibol on the throne and his influence has superseded that of bickering politicians since the closing days of the second world war.
As soon as the palace confirmed the news, the crowd outside Siriraj hospital let out a cry and mourners hugged each other. Some people were wearing yellow the kings colour but many more wore pink, which was named years ago by royal astrologers as a colour beneficial for the monarchs wellbeing. They had been chanting long live the king for much of the day.
Although Bhumibol had been ill for much of the past decade, some people were shocked on hearing he had died. Dozens of mourners who had spent much of the past week at the hospital on the west side of the Chao Phraya river made their way back to central Bangkok dazed and fatigued. When we saw the news that he was ill, we just hoped it was fake news, said a woman after stepping off the boat.
Another mourner, 24-year-old student Tachpon Techarang, said Thais had spent the evening sending consoling messages to friends and family.
During the kings reign, there have been close to 20 attempted or successful coups the
last one in May 2014 when a military junta seized power but the monarchy has remained revered.
That Thailands many civilian and military leaders crawled on the floor in the presence of the king illustrated how Bhumibol kept the executive in check even with the country ostensibly in a continual state of flux.
His constant presence made Thailand one of the most widely cited development successes, becoming an upper-income country in less than a generation. He successfully negotiated many times with military leaders to return democracy to the country, but finally left Thailand to the army.
Critics of the military junta say it used its support for the monarchy as a pretext for grabbing power from the elected government of
Yingluck Shinawatra, the sister of Thaksin Shinawatra, who was also deposed by the military in 2006 and fled the country.
The constitutional monarch had been treated by doctors for
water on the brain and a chest infection in August 2015. On Sunday, the palace said his condition had become unstable.
During the closing years of his life, he was mostly hidden from the public, occasionally wheeled out on a bespoke sandy-coloured chair to tour a new supermarket or visit a palace. During these outings, Thais kneeled on the road, some crying as their expressionless and silent monarch passed by.
His wife, Queen Sirikit, has also suffered declining health. They have three children, but Crown Prince Maha Vajiralongkorn, their only son and heir,
does not command the same affection as his father, causing fears of a rupture in the states structure.
Les Majeste law atom
open discussion of the monarchy is restricted by a strict lse-majest law that makes criticism of the royal family punishable by years in jail, so it is hard to gauge the popularity of the son. Any Thai can bring a legal case against a person under the lse-majest law. In 2014, complaints were filed against a woman who wore black on the kings birthday.
In August last year, military courts
jailed two people under the law, one for 30 years and the other for 28 years, the heaviest sentences for the crime in the countrys history, for Facebook posts. Critics of the law say it has been used by the military against political opponents.
Bhumibols death means
Queen Elizabeth II is now the longest reigning living monarch.
The king ascended to the throne after the still unexplained death of his older brother, Ananda Mahidol. His brother, also known as King Rama VIII of Siam, was found shot dead in his bedroom in the Boromphiman throne hall in the Grand Palace. Bhumibol later said it was proved that it was not an accident or a suicide.
Bhumibol postponed his coronation until 1950 to finish his studies in Switzerland.
Many of his subjects regarded the king as close to divine. His image is displayed in shops, restaurants and homes across the country. The royal anthem is played in cinemas before films are shown and people are expected to stand. The anthem is also frequently broadcast in parks and on the metro, causing a temporary standstill.
The king played the saxophone and loved jazz. He was rarely seen in pictures without a camera around his neck and was a fan of black and white photography, which many suggested stemmed from his preference for simplicity in life.
Bandleader and clarinetist Benny Goodman invited King Bhumibol to his New York apartment for a jam session in July 1960. Photograph: Popperfoto/Getty Images
On Thursday the Bangkok Posts website was black and white in mourning, as world leaders offered condolences.
Bhumibol was a towering presence whose contribution to Thailand, and the rest of the region, is beyond words, said Najib Razak, the prime minister of Thailands southern neighbour Malaysia. We join the Thai people in mourning his loss.
The frontpage of the Bangkok Post website on Thursday. Photograph: screengrab
In a statement from the White House, Barack Obama said the king was a tireless champion of his countrys development, who demonstrated unflagging devotion to improving the standard of living of the Thai people.
The UN secretary general, Ban Ki-moon, said Bhumibol was highly respected internationally. The secretary general expresses his hope that Thailand will continue to honour King Bhumibols legacy of commitment to universal values and respect for human rights, a statement from Bans office said.
Bhumibols body will be taken from hospital to the palace on Friday afternoon, officials said.
Traffic in the modernised areas of the Thai capital remained heavy and people walked the streets as normal on Thursday. Most signals that the country had lost its most beloved figure were subtle: restaurants were emptier than usual, some advertising billboards had been turned off, and fewer street stalls had opened.
On Khao San Road, a backpackers hotspot in the capital, the pavement was full of people selling massages, fake DVDs and bottles of cheap spirits. Tourists in flip-flops were drinking beers in bars, but the usually constant blaring music was absent. Asked if the sound systems had been turned off out of respect for the king, a waitress responded by crying and nodding.