In 1794, after a successful campaign in the Nha Trang region, Nguyễn Ánh ordered de Puymanel to build a citadel at Duyen Khanh, near the city, instead of retreating south with the seasonal northeasterly breeze.
Due to a Tay Son massacre against ethnic Chinese, the Nguyen were supported by ethnic Chinese against the Tay Son [REF].