In 1802 Nguyen Anh - the Gia Long emperor - with the French missionary Pigneau de Behaine's mediation and his own arms, ended the Tay Son (1771-1802) and united all Vietnam, founding the Nguyen dynasty at Hue; the state name 'Vietnam' was the Qing Jiaqing emperor's settling (1803). Gia Long gave it the Hoang Viet code and its offices; Minh Mang (1820-1841) centralized and forbade the missions while pushing the realm to the whole Mekong. From 1858 France intervened over missionary cases - Cochinchina ceded (1862), then the Hue treaties of 1883-1884 made it a French protectorate (the core of French Indochina), Thanh Thai and Duy Thanh exiled for resistance. Japan entered in 1940; in March 1945 Tokyo set Bao Dai 'independent'; in August Ho Chi Minh's revolution swept the country, and on 30 August Bao Dai abdicated - thirteen emperors, 143 years, the Nguyen line closed.

Editorial note on dating Gia Long reunified the realm (1802, after the Tay Son 1771-1802); a French protectorate from 1883 (French Indochina); Bao Dai abdicated in 1945; band shown to the canvas end.