JAKARTA, Indonesia — The official royal consort of the king of Thailand was stripped of her title just months after she was given the rare designation, accused in a statement from the palace on Monday of disloyalty and trying to supplant the queen.

The king, who ascended the throne in 2016 on the death of his father, had appointed a royal consort less than three months ago, on his 67th birthday, and only two months after he married his fourth wife. The royal consort title had not been used in nearly a century.

The statement, posted in the Royal Thai Government Gazette on behalf of King Maha Vajiralongkorn Bodindradebayavarangkun, described the ousted consort, Sineenat Bilaskalayani, 34, as “ambitious” and acting “in all respects to be equal to the Queen.”

The former consort was a major general, and was also stripped of her military rank, decorations and position. She had previously been known as Sineenat Wongvajirapakdi, which means loyal to King Maha Vajiralongkorn.