retained. The Siamese court required the periodic presentation of ceremonial golden and silver trees and the provision of other resources. In wartime, tributary kingdoms were requested to send troops or to join the war on behalf of Siam. Tributary kingdoms of the Rattanakosin included; Lanna Kingdom (modern Northern Thailand), which was subdivided into the Kingdoms of Chiang Mai, Lampang and Lamphun under the rule of the Chetton dynasty. The principalities of Phrae and Nan were other princedoms ruled by local dynasties. Lao kingdoms of Luang Phrabang, Vientiane and Champasak Semi-independent chiefdoms in Isan region. Cambodia (contested with Vietnam) Pattani Northern Malay Sultanates; Kedah (including Perlis and Setul), Kelantan and Terengganu. The governors of large cities, in practice, were also in charge of the affairs of its adjacent tributary kingdoms. The governor of Nakhon Ratchasima was responsible for the affairs in Lao kingdoms of Vientiane and Champasak. The governor of Nakhon Si Thammarat (Ligor) was responsible for the affairs in Kedah and Kelantan. The governor of Songkhla was responsible for the affairs in Pattani and Terengganu. Law and judiciary Majority of the Siamese legal corpus were lost in the Fall of Ayutthaya in 1767. Siamese authorities then relied on scattered legal manuscripts to operate. In 1804, a woman who was in relationship with another man successfully sued for divorce from her husband. The husband complained that the court ruling was unjustified and appealed the case to King Rama I. King Rama I then opinioned that the existing laws of Siam were corrupted and ordered the recompilation of Ayutthaya laws to rectify and cleanse or chamra the laws of any distortions. The physical copies were imprinted with the three seals of Mahatthai (north), Kalahom (south) and Phrakhlang (treasury), signifying that the laws affected kingdom-wide and became known as the Three Seals Law that served the Siamese kingdom for the next century. The Siamese laws had taken the Indic Mānu-Dharmaśāstra as its model. The king was the sole legislator of the kingdom. His words were recorded and inscribed to become laws. There was no single unified judiciary department as cases were distributed among the judging courts of each ministries according to the concerning matter. For example, foreign trade disputes belonged to the Kromma Tha or Trade Ministry and land disputes belonged to Krom Na or Ministry of Agriculture. The Mahatthai maintained the appeal court that settled cases from the primary courts. Unsettled cases