Later Le Dynasty, (1428–1788), the greatest and longest lasting dynasty of traditional Vietnam. Its predecessor, the Earlier Le, was founded by Le Hoan and lasted from 980 to 1009.
The Later Le was established when its founder, Le Loi, began a resistance movement against the Chinese armies then occupying Vietnam; by 1428 he had liberated the country and was free to begin the process of recovering the southern portion of the Indochinese Peninsula from the Indianized kingdom of Champa. In 1471 Le Thanh Tong, the greatest of the Le rulers, permanently subjugated Champa. Le Thanh Tong divided Vietnam into 13 provinces or circuits, based on the Chinese model, and established a triennial Confucian civil service examination. He also promulgated a new legal code, the Hong Duc code. This administrative system showed some Chinese influence but also contained distinctly Vietnamese elements.
The rulers following Le Thanh Tong came under the control of a series of ambitious feudal magnates. In 1527 the throne was even usurped by a member of the powerful Mac family. Although a Le emperor was restored in 1533 with the help of the Nguyen family, the Le rulers were thereafter only theoretically supreme. Real power was shared between two families, the Trinh in the north and the Nguyen, with their capital at Hue, in the south. By about 1630 the cleavage between the two had become so acute that the southerners built two walls across the plain of Dong Hai (at latitude 18° north) to the jungle, sealing off the north until the late 18th century.
In 1771 a peasant uprising led by the Tay Son brothers spread throughout the country and seven years later overthrew the dynasty. Members of the Nguyen family, however, were able to obtain French aid and reunite the nation under the Nguyen dynasty.