Tây Sơn dynasty
In 1791, Vientiane was invaded by the Vietnamese Tây Sơn dynasty to root out Lê dynasty loyalists, Nanthasen had to flee to Siam. Finally, he reached an accommodation with Tây Sơn dynasty. In 1795, Nanthasen was accused of plotting a rebellion with the Lao governor of Nakhon Phanom. He was deposed and taken to Bangkok. His brother Inthavong succeeded.