Tây Sơn dynasty
The Tây Sơn dynasty (, (Chữ Nôm: 茹西山); (Hán tự: 西山朝) was a ruling dynasty of Vietnam, founded in the wake of a rebellion against both the Nguyễn lords and the Trịnh lords before subsequently establishing themselves as a new dynasty. The Tây Sơn were led by three brothers, referred to by modern Vietnamese historians as the Tây Sơn brothers because of their origin in the district of Tây Sơn. The Tây Sơn dynasty ended the century-long war between the Trịnh and Nguyễn families, fought off an attack by Qing China, and united the country for the  first time in 200 years. Under the most prominent of the Tây Sơn brothers, Nguyễn Huệ (era name Quang Trung), Vietnam experienced an age of relative peace and prosperity. His heir, however, was not capable of properly ruling the country, allowing the exiled Nguyễn lord Nguyễn Ánh to retake the south of Vietnam and eventually pave the way for his own imperial dynasty, the Nguyễn dynasty. Name. The Tây Sơn dynasty was named after the Tây Sơn District in Bình Định Province, the birthplace of the three brothers who established the dynasty. The name "Tây Sơn" means "western mountains". History . Background. In the 18th century, Vietnam was officially ruled by the Lê dynasty, but real power lay in the hands of two warring families, the Trịnh lords of the north who ruled from the imperial court in Thăng Long and the Nguyễn lords in the south, who ruled from their capital Huế. Both sides warred extensively for control of the country while simultaneously claiming to be loyal to the Lê emperor. Life for the peasants during these times were difficult- ownership of land became concentrated in the hands of a handful of landlords as time passed. The imperial bureaucracy became  corrupt and oppressive; at one point the imperial examination-degrees were sold to whoever was wealthy enough to purchase them. As the people grew poorer, the ruling lords lived lavish lifestyles in opulent palaces. While the Trịnh lords had enjoyed peace since the end of the war between the Trịnh and the Nguyễn in 1672, the Nguyễn lords regularly campaigned against Cambodia and later the Kingdom of Siam. While the Nguyễn lords usually won these wars and opened up new fertile lands for the landless poor to settle, the frequent warring took a toll on their popularity. Conquest of Nguyễn  lords. In 1769 the new king of Siam Taksin launched a war to regain control of Cambodia. The war went against the Nguyễn lords and they were forced to abandon some of the newly conquered lands, which included the Principality of Hà Tiên in the eastern coast of Cochinchina. Lord Nguyễn Phúc Khoát died in 1765, the court power was transferred to the unpopular regent Trương Phúc Loan, creating a political crisis. This coupled with heavy taxes and endemic corruption at the local level, spurred three brothers Nguyễn Nhạc, Nguyễn Huệ, and Nguyễn Lữ (not related to the Nguyễn lords ) from the village of Tây Sơn, central Vietnam, to begin a revolt in 1772 against the Nguyễn lord Phúc Thuần. The Tây Sơn brothers styled themselves as champions of the people. Over the next year, the revolt gained traction and they won some battles against the Nguyễn army that was sent to crush their rebellion. The Tây Sơn drew their support from not only poor farmers but also by some indigenous highland tribes. Nguyễn Huệ, the brothers' leader, said that his goal was to end the people's oppression, reunite the country, and restore the power of the Lê emperor  in Hanoi. The Tây Sơn also promised to remove corrupt officials and redistribute land. In 1773 the Tây Sơn captured the port of Qui Nhơn, where the merchants, who had suffered under restrictive laws put in place by the Nguyễn, lent the uprising their financial support. The Nguyễn, at last recognizing the serious scale of the revolt, made peace with the Siamese, giving up some land they had conquered in previous decades. However, their problems were compounded when Trịnh Sâm chose to end the 100-year peace and exploit the turmoil in the south by sending his army to attack  Phú Xuân (modern-day Huế), the Nguyễn capital. The Trịnh army captured the city, forcing the Nguyễn to flee to Gia Định (now modern day Saigon) The Trịnh army continued to march south and the Tây Sơn army continued its conquest of other southern cities. The forces arraigned against the Nguyễn were simply too many and in 1776 the Tây Sơn army captured the last Nguyễn stronghold of Gia Định and massacred the town's Chinese population. The entire Nguyễn family was killed at the end of the siege, except for one nephew, Nguyễn Ánh, who managed to escape to  Siam. The eldest Tây Sơn brother, Nguyễn Nhạc, proclaimed himself Emperor in 1778. A conflict with the Trịnh thus became unavoidable. Conflict with Siam. The Tây Sơn spent the next decade consolidating their control over the former Nguyễn territory. Nguyễn Ánh proved to be a stubborn enemy. He convinced the King of Siam, P'ya Taksin, to invade Vietnam in support of him. The Siamese army attacked in 1780, but in several years of warfare, it was unable to defeat the Tây Sơn army, as gains were followed by losses. In 1782, the Siamese king was killed in a revolt, and  less than a year later, Nguyễn Ánh's forces were driven out of Vietnam. In 1785, Siam launched an invasion again and occupied part of the Mekong Delta, but was defeated by Nguyen Hue in the Battle of Rạch Gầm-Xoài Mút. Conquest of Trịnh lords. Having vanquished the Nguyễn for the time being, Nguyễn Huệ decided to destroy the power of the Trịnh lords. He marched to the north at the head of a large army in 1786, and after a short campaign, defeated the Trịnh army successfully. The Trịnh were also unpopular and the Tây Sơn army seemed  invincible. The Trịnh lord fled north into China. Nguyễn Huệ later married princess Lê Ngọc Hân, the daughter of the nominal later Lê Emperor, Lê Hiển Tông. War with the Qing dynasty, ending the Lê dynasty. A few months later, realising that his hope of retaining power had gone, the Emperor Lê Chiêu Thống fled north to the Qing Empire of China, where he formally petitioned the Qianlong Emperor for aid. The Qianlong Emperor agreed to restore Lê Chiêu Thống to power, and so in 1788, a large Qing army marched south into Vietnam and captured the capital Thăng Long . Nguyễn Huệ gathered a new army and prepared to fight the Qing army. He addressed his troops before the battle saying: In a surprise attack, while the Qing army was celebrating the Lunar New Year, Nguyễn Huệ's army defeated them at the Battle of Ngọc Hồi-Đống Đa and forced them, along with Lê Chiêu Thống, to retreat. The Tay Son were supported by Chinese pirates. Anti-pirate activities were undertaken by a joint alliance between the Qing dynasty and Nguyễn lords Gia Long while Chinese pirates collaborated with the Tay Son. After the battle, Nguyễn Huệ sought to  restore the tributary relationship in order to deter a joint Qing-Siam pincer attack and prevent further Chinese attempts to restore the Lê dynasty. Nguyễn Huệ sent a ritually submissive request to the Qianlong Emperor under the name of Nguyễn Quang Bình (also referred to as Ruan Guangping). In 1789, the Qianlong Emperor agreed to re-establish the tributary relationship and enfeoff Nguyễn as the King of Annam on the condition that Nguyễn Huệ personally lead a special delegation to Beijing to celebrate the Qianlong Emperor's 80th birthday. For the Qianlong Emperor, the motivation for accepting the arrangement was  to retain the Qing's supremacy and stabilize their southern border. Chinese and Vietnamese sources agreed that Nguyễn Huệ sent an imposter with a delegation to Beijing, where they were received with lavish imperial favors. The Qianlong Emperor approved the proposal and bestowed Nguyễn Huệ with the title "An Nam quốc vương" ("King of Annam"). The title indicated that Nguyễn Huệ was recognized as the legal ruler of Vietnam and Lê Chiêu Thống was no longer supported. War with Nguyễn Ánh and fall. Nguyễn Huệ, now stylized as Quang Trung, was resentful; he trained his army, built large warships and  waited for an opportunity to take revenge on Qing. He also provided refuge to anti-Manchu organizations such as the Tiandihui and the White Lotus. Infamous Chinese pirates, such as Chen Tien-pao (陳添保), Mo Kuan-fu (莫觀扶), Liang Wen-keng (梁文庚), Fan Wen-tsai (樊文才), Cheng Chi (鄭七) and Cheng I (鄭一) were granted official positions and/or noble ranks under the Tây Sơn empire. All attack plans had to be given up due to Nguyễn Huệ's sudden death. The attack never materialized by the time that Quang Trung died in 1792. After a 1782 massacre of ethnic Chinese  settler was carried out by the Tây Sơn, the support of the Chinese shifted towards to the Nguyễn lords. After Quang Trung's death, his son Nguyễn Quang Toản was enthroned as Emperor Cảnh Thịnh at the age of ten. However, the real power was in the hands of his uncle Bui Dac Tuyen, who enacted a massive political purge. Many who served under Quang Trung were executed, while others became discouraged and left the regime, considerably weakening the Tây Sơn. This paved the way for Nguyễn Ánh to capture the entire country within 10 years, with the help of  French military adventurers enlisted by French bishop Pigneau de Behaine. In 1800, Nguyễn Ánh occupied Quy Nhơn citadel. In 1801, he occupied Phú Xuân, forcing Nguyễn Quang Toản to flee to Thăng Long. In 1802, Ánh besieged Thăng Long. The then 20-year-old Nguyễn Quang Toản escaped, but then was captured and executed, ending the dynasty after 24 years, and the Nguyễn, the last imperial dynasty of Vietnam, took over the country in 1802. The Nguyễn lords eventually defeated the Tây Sơn dynasty , took complete control of Vietnam, and established the imperial Nguyễn dynasty in 1802. The Nguyễn used  crushing by elephant to execute the defeated Tây Sơn leader Bùi Thị Xuân. The heart and liver from her body were consumed by soldiers of the Nguyễn.