Chinese blown to Vietnam by the wind, Pan Dinggui in his book "Annan ji you" said that the Trinh restored the Le dynasty to power after Vietnam was struck by disease, thunder and winds when the Le was dethroned when they initially could not find Le and Tran dynasty royals to restore to the throne when he was in Vietnam in 1688. Pan also said that only the Le king was met by official diplomats from the Qing, not the Trinh lord. 19th–20th centuries The Thanh Nhan Chinese made their living by exporting rice to other Southeast Asian countries, and their participation increased greatly in the years during the early 18th century after the Tây Sơn rebellion. Under local laws, rice exports to other countries were tightly regulated, but the Chinese largely ignored this rule and exported rice en masse. The prices of rice witnessed an increase of 50–100% in the 1820s as a result of these exports, which irked the Nguyễn court under Emperor Minh Mạng. Minh Mạng's mandarin, Lê Văn Duyệt noticed that the Chinese had a great autonomy over trade affairs in Gia Dinh, which was partly attributed to the patronage of Trinh Hoai Duc who was serving as the governor of the province. Minh Mạng introduced a new series of measures to curb Chinese trade from 1831 onwards, and started by introducing new restrictions to which residents are banned from overseas travel, which culminated in a brief revolt among Gia Dinh's residents in 1833. The Nguyễn court also experimented with measures to assimilate the Chinese immigrants; in 1839 an edict was issued to abolish the Chinese clan associations in Vietnamese-ruled Cambodia, which proved to be ineffective. Minh Mạng's son, Thiệu Trị, introduced a new law to allow only Chinese-born immigrants to register with the Chinese clan associations, whereas their local-born male descendants are allowed to register with the Minh-Huong-xa and adorn the Vietnamese costume. The Nguyễn court also showed signs of subtle discrimination against people of Chinese origin; only one Minh Huong Chinese was promoted to a Mandarin. This sharply contrasted with the high representation of people of Chinese descent who were able to serve the Nguyễn court under Gia Long's reign. Chinese immigration into Vietnam visibly increased following the French colonization of Vietnam from 1860 onwards following the signing of the Convention of Peking whereby the rights of Chinese to seek employment overseas were officially