Media captionJonathan Head looks back at the reign of King Bhumibol Adulyadej
Thailand's King Bhumibol Adulyadej, the world's longest-reigning monarch, has died after 70 years as head of state.
The 88-year-old king was widely revered but had been in poor health in recent years, making few public appearances.
He was seen as a stabilising figure in a country hit by cycles of political turmoil and multiple coups.
Crown Prince Maha Vajiralongkorn will be the new monarch, the prime minister has said.
The announcement
After two days of speculation and rumours surrounding the king's deteriorating health, the palace announcement confirming his death finally came early on Thursday evening.
"His majesty has passed away at Siriraj Hospital peacefully," a statement said, adding he had died at 15:52 (08:52 GMT).
In a televised address to the nation, Prime Minister Prayut Chan-ocha said Thailand would hold a one-year mourning period, that flags would fly half-mast and all entertainment functions must be "toned down" for a month.
Obituary: King Bhumibol
A life in pictures
King Bhumibol's reign - in brief
How King Bhumibol shaped modern Thailand
In a later statement he urged vigilance, saying national security was a top priority.
"Everyone will need to be alert in every region and throughout the country to ensure safety", he said.
The king's death comes as Thailand remains under military rule following a coup in 2014.
A palace official, speaking to crowds outside the hospital, said the body of the king would be moved to the Temple of the Emerald Buddha in Bangkok on Friday.
The people's grief
King Bhumibol was widely respected across Thailand, and thought of by many as semi-divine.
Hundreds of mourners gathered outside the Bangkok hospital where he died, stricken with grief at the news.
People cry after Royal Palace's announcement outside Siriraj Hospital where Thai King Bhumibol Adulyadej was being treated, in Bangkok, Thailand, Thursday, 13 October 2016.Image copyrightAP
Image caption
Crowds outside the hospital howled with grief when the announcement was made
People mourn after an announcement that Thailand's King Bhumibol Adulyadej has died, at the Siriraj hospital in Bangkok, Thailand 13 October 2016.Image copyrightREUTERS
Image caption
As night fell, crowds of mourners remained at the hospital where the King died
Many held pictures of the king and wore yellow or pink clothing in his honour.
"How will Thailand live without you father?" cried one distressed man.
"I lost one of the most important people in my life. I feel like I haven't done enough for him," said another.
Thai people react and mourn as they hear the news of the death of Thai King Bhumibol Adulyadej outside Siriraj Hospital in Bangkok, Thailand, 13 October 2016.Image copyrightEPA
A wave of emotion swept through the crowd - Jonah Fisher, BBC News, Bangkok
Throughout the first part of the day the king's supporters had sung royal songs and recited prayers at Siriraj Hospital. Many wore carefully chosen colours. Pink, for good health, or yellow the royal colour.
Most knelt holding pictures of King Bhumibol, facing the part of the hospital where he was receiving treatment.
By early afternoon the mood had begun to change. With all of his children at his bedside, rumours were circulating that the 88-year-old had passed away.
The tears began to flow, and in between songs the call of "God Save the King" was shouted with an almost visceral desperation.
Then just before 19:00 local time, the news was official. A wave of emotion swept through the crowd. Many clung to each other and wept.
Thailand's father figure, a beacon of stability in a divided and worried country, had died. A new, more uncertain era has begun.
In pictures: Thailand mourns King Bhumibol
The succession
Although the prime minister said Crown Prince Maha Vajiralongkorn would become the new monarch, he added that the official proclamation would be made at a later date.
He said the crown prince had confirmed that he would perform his duty as heir to the throne, but had asked for time to mourn his father's death.
This file photo taken on 11 May 2009 shows Thai Crown Prince Maha Vajiralongkorn observing the annual ploughing ceremony at Sanam Luang in Bangkok.Image copyrightAFP
Image caption
Most ordinary Thais know only a few details about Crown Prince Vajiralongkorn
The crown prince, who is 64, is much less well known to Thais and has not attained his father's widespread popularity. He spends much of his time overseas, especially in Germany.
Profile: Crown Prince Vajiralongkorn
Strict lese-majeste laws protect the most senior members of Thailand's royal family from insult or threat. Public discussion of the succession can be punishable by lengthy jail terms.
Given the pivotal role the king has played in maintaining the balance of power in Thailand's volatile political environment, the succession will be a formidable challenge for the government, says the BBC's Jonathan Head in Bangkok.
King Bhumibol's
หัวสื่อ captionjonathan มองย้อนไปในรัชสมัยของพระบาทสมเด็จพระเจ้าอยู่หัวภูมิพลอดุลยเดชประเทศไทย พระบาทสมเด็จพระเจ้าอยู่หัวภูมิพลอดุลยเดช โลกของพระมหากษัตริย์ครองราชย์ยาวนานได้ตายหลังจาก 70 ปีในฐานะหัวหน้าของรัฐกษัตริย์อายุ 88 ปี แต่ได้รับการเคารพนับถือกันอย่างแพร่หลายในสุขภาพที่ไม่ดีในปีที่ผ่านมาทำลักษณะสาธารณะเพียงไม่กี่เขาถูกมองว่าเป็นปรับรูปในประเทศที่ตีโดยรอบของความวุ่นวายทางการเมือง และหลายหาองค์รัชทายาทเสด็จส่งจะเป็นพระมหากษัตริย์ใหม่ นายกฯ ได้กล่าวว่าประกาศหลังจากสองวันของข่าวลือและการเก็งกำไรรอบพระสุขภาพทรุดโทรม พระราชวังประกาศยืนยันการเสียชีวิตของเขาก็มาแต่เช้า เมื่อเย็นวันพฤหัสบดี" ฝ่าบาทได้จากไปอย่างสงบที่โรงพยาบาลศิริราช " แถลงการณ์กล่าว และเสริมว่าเขาได้ตายที่ 15:52 ( 08:52 GMT )ในการถ่ายทอดทางโทรทัศน์ไปทั่วประเทศ นายกรัฐมนตรี ประยุทธ์ จันโอชา กล่าวว่า ประเทศไทยจะถือช่วงเวลาไว้ทุกข์หนึ่งปี ที่ธงจะบินครึ่งเสาและฟังก์ชั่นความบันเทิงทั้งหมดต้อง " กระชับ " ลงเป็นเดือนมรณกรรม : พระเจ้าอยู่หัวชีวิตในรูปภาพของพระบาทสมเด็จพระเจ้าอยู่หัวรัชกาล - สั้นว่าพระบาทสมเด็จพระเจ้าอยู่หัวรูปร่างไทยสมัยใหม่ในแถลงการณ์ภายหลังเขาเรียกร้องให้ระมัดระวังว่าความมั่นคงเป็นอันดับแรก" ทุกคนจะต้องมีการแจ้งเตือนในทุกภูมิภาคและทั่วประเทศเพื่อความปลอดภัย " เขากล่าวความตายของกษัตริย์มาเป็นประเทศไทยยังคงอยู่ภายใต้การปกครองของทหารหลังรัฐประหารในปี 2014พระราชวังอย่างเป็นทางการ การพูดกับฝูงชนด้านนอกโรงพยาบาล กล่าวว่า ศพของกษัตริย์จะถูกย้ายไปยังวัดพระศรีรัตนศาสดาราม กรุงเทพฯ เมื่อวันศุกร์คนเศร้าโศกพระบาทสมเด็จพระเจ้าอยู่หัวเป็นยอมรับอย่างกว้างขวางทั่วประเทศ และว่าโดยมากเป็นกึ่งเทพร้อย mourners รวบรวมนอกโรงพยาบาลกรุงเทพ ที่ๆเขาตาย เป็นทุกข์กับความเศร้าโศกที่ข่าวคนร้องไห้หลังจากประกาศพระราชวังนอกโรงพยาบาลศิริราช พระบาทสมเด็จพระเจ้าอยู่หัวภูมิพลอดุลยเดช ที่ไทยได้รับการดูแล , ในกรุงเทพ , ประเทศไทย , พฤหัสบดี , 13 ตุลาคม 2552 ( copyrightap .คำบรรยายภาพฝูงชนด้านนอกโรงพยาบาล howled กับความเศร้าโศกเมื่อการประกาศคนเศร้า หลังจากประกาศว่าประเทศไทยของพระบาทสมเด็จพระเจ้าอยู่หัวภูมิพลอดุลยเดชที่เสียชีวิตที่ รพ. กรุงเทพฯ 13 ตุลาคม 2016 . copyrightreuters ภาพคำบรรยายภาพคืนลดลง , ฝูงชนของ mourners ยังคงอยู่ที่โรงพยาบาลที่กษัตริย์ตายหลายคนถือรูปภาพของกษัตริย์และสวมเสื้อผ้าสีเหลืองหรือสีชมพูในเกียรติของเขา" ว่าประเทศไทยจะอยู่โดยไม่มีพ่อเหรอ ? " ร้องหนึ่งทุกข์เพื่อน" ฉันสูญเสียคนที่สำคัญที่สุดในชีวิตของฉัน ฉันรู้สึกเหมือนไม่ได้ทำอะไรมากพอสำหรับเขา " กล่าวอีกคนไทยตอบสนองและเสียใจ พวกเขาได้ยินข่าวการเสียชีวิตของพระเจ้าอยู่หัว ภูมิพลอดุลยเดช นอกโรงพยาบาลศิริราชในกรุงเทพฯ , ประเทศไทย , 13 ตุลาคม 2552 ( copyrightepa .คลื่นของอารมณ์กวาดผ่านฝูงชน - โจน่าห์ ฟิชเชอร์ , ข่าวบีบีซี , กรุงเทพมหานครตลอดทั้งส่วนของวันแรกของกษัตริย์ราชวงศ์และผู้สนับสนุนมีซองเพลงท่องสวดมนต์ในโรงพยาบาลศิริราช หลายคนสวมอย่างระมัดระวังเลือกสี สีชมพู เพื่อสุขภาพที่ดี หรือ สีเหลือง สีราชส่วนใหญ่คุกเข่าถือรูปภาพของพระบาทสมเด็จพระเจ้าอยู่หัว ซึ่งเป็นส่วนหนึ่งของโรงพยาบาลที่เขาได้รับการรักษาโดยช่วงบ่าย บรรยากาศก็เริ่มเปลี่ยนไป ด้วยทั้งหมดของลูก ๆของเขาที่ข้างเตียงของเขา ข่าวลือมีการหมุนเวียนที่ 88 ปี เพิ่งเสียชีวิตไปน้ำตาเริ่มไหล และใน ระหว่าง เพลงเรียกของ " พระเจ้าช่วย " กษัตริย์ก็ตะโกนด้วยความเกือบกระปี้กระเป่าแล้วก่อน 19.00 ตามเวลาท้องถิ่น ข่าวอย่างเป็นทางการ คลื่นของอารมณ์กวาดผ่านฝูงชน หลายคนยึดติดกับแต่ละอื่น ๆและร้องไห้รูปพ่อ ซึ่งเป็นสัญญาณของความมั่นคงในการแบ่งและห่วงประเทศ เสียชีวิต ใหม่ , ความไม่แน่นอนมากกว่ายุคเริ่มต้นในรูปภาพ : ประเทศไทยที่พระเจ้าอยู่หัวการสืบสันติวงศ์แม้นายกรัฐมนตรีบอกว่าองค์สมเด็จพระวชิรจะกลายเป็นพระมหากษัตริย์ใหม่ เขากล่าวว่า การประกาศอย่างเป็นทางการจะทำในภายหลังเขากล่าวว่า องค์รัชทายาทได้ยืนยันว่าเขาจะทำหน้าที่ของเขาในฐานะรัชทายาท แต่ได้ถามเวลาที่จะไว้ทุกข์การตายของพ่อเขาไฟล์ภาพนี้ถ่ายเมื่อวันที่ 11 พฤษภาคม 2552 แสดงภาษาไทยเจ้าชายมหาวชิรสังเกตประจำปีพิธีแรกนาขวัญ ที่ท้องสนามหลวง กรุงเทพมหานคร ภาพ copyrightafpคำบรรยายภาพคนไทยธรรมดาส่วนใหญ่รู้เพียงไม่กี่รายละเอียดเกี่ยวกับองค์รัชทายาทซีองค์รัชทายาท ที่ 64 เป็นน้อยที่รู้จักกันดีให้กับคนไทย และยังไม่บรรลุความนิยมแพร่หลายของพ่อของเขา เขาใช้เวลามากเวลาในต่างประเทศ โดยเฉพาะในเยอรมันรายละเอียด : มกุฎราชกุมารวชิรเข้มงวด หมิ่นฯ กฎหมายปกป้องอาวุโสที่สุดสมาชิกของพระราชวงศ์ไทย ดูถูก หรือ จากการคุกคาม การอภิปรายสาธารณะของการสามารถถูกลงโทษด้วย ยาวคุกเงื่อนไขได้รับบทบาทสำคัญ กษัตริย์มีการเล่นในการรักษาสมดุลของพลังงานในสภาพแวดล้อมทางการเมืองของประเทศไทยที่ผันผวนต่อเนื่อง จะเป็นความท้าทายที่น่ากลัวสำหรับรัฐบาลกล่าวว่าบีบีซีของโจนาธานใหญ่ในกรุงเทพของกษัตริย์ภูมิพล
การแปล กรุณารอสักครู่..
