One of the earliest records of dance in Cambodia is from the 7th century, where performances were used as a funeral rite for kings. In the 20th century, the use of dancers is also attested in funerary processions, such as that for King Sisowath Monivong. During the Angkor period, dance was ritually performed at temples. The temple dancers came to be considered as apsaras, who served as entertainers and messengers to divinities. Ancient stone inscriptions describe thousands of apsara dancers assigned to temples and performing divine rites as well as for the public. The tradition of temple dancers declined during the 15th century, as the Siamese kingdom of Ayutthaya raided Angkor. When Angkor fell, its artisans, Brahmins, and dancers were taken captive to Ayutthaya.