With the Trịnh–Nguyễn War ended, his reign was mostly devoted to administrative reforms.
[3] One of his improvements was to force all government officials to take examinations in order to promote honesty and to remove incapable civil servants.
In 1694, the last effective leader of the Lān Xāng federation died.
The resulting succession battle caused the federation to collapse.
After 10 years of conflict with other Lao forces and with Ayutthaya forces under king Phetracha, three weak Lao kingdoms emerged, each of which paid tribute to both Vietnam and Ayutthaya (modern day Thailand).