Media playback is unsupported on your device Media caption The king is seen pouring sacred water on the head of Queen Suthida

The king of Thailand has married the deputy head of his personal security detail, and given her the title of queen, a royal statement has said.

The surprise announcement about his long-time consort comes before his elaborate coronation ceremonies begin on Saturday.

King Maha Vajiralongkorn, 66, became the constitutional monarch after the death of his much-loved father in 2016.

He has been married and divorced three times before and has seven children.

A royal statement said: King Vajiralongkorn "has decided to promote General Suthida Vajiralongkorn Na Ayudhya, his royal consort, to become Queen Suthida and she will hold royal title and status as part of the royal family".

Queen Suthida is King Vajiralongkorn's long-term partner and has been seen with him in public for many years, though their relationship has never before been officially acknowledged.

Image copyright EPA Image caption The king is seen pouring sacred water on the head of Queen Suthida

Image copyright Reuters Image caption Queen Suthida was made a general in 2016

Footage from the wedding ceremony was shown on Thai TV channels late Wednesday, showing other members of the royal family and palace advisers in attendance.

The king is seen pouring sacred water on the head of Queen Suthida. The couple then sign a marriage registry.

She and others are prostrated before the monarch, as is customary in Thailand.

In 2014 Vajiralongkorn appointed Suthida Tidjai, a former flight attendant for Thai Airways, as the deputy commander of his bodyguard unit. He made her a full general in the army in December 2016.

The previous king, Bhumibol Adulyadej, ruled for 70 years, making him the longest-reigning monarch in the world when he died in 2016.