The Dharmashastra remained a tool of Thai law until late in the 19th century. Beginning with the Portuguese in the 16th century, Ayutthaya had some contact with the West, but until the 1800s ...