黎昭統帝
After learning about actions of Nguyễn Hữu Chỉnh, Nguyễn Huệ sent north a general named Vũ Văn Nhậm with an army to attack Thăng Long (now Hanoi). Vu Van Nham swiftly defeated and killed Nguyen Huu Chinh and occupied Thăng Long, but then he took the power himself. Nguyễn Huệ sent two other generals to suppress Vu Van Nham and recaptured Thăng Long. Meanwhile, Lê Chiêu Thống fled to the furthest north of Vietnam and refused Nguyễn Huệ's invitations to return. He gathered a small army of Lê dynasty loyalists and sent his family to China to seek aid from the Qianlong Emperor of the Qing Empire. The Qianlong Emperor agreed and sent a massive army to north Vietnam. Under the banner of the Lê king, the large Qing army easily drove Tây Sơn out of north Vietnam and took over Thăng Long. After the Qing occupation of northern Vietnam, the Qing viceroy Sun Shiyi reinstalled Lê Chiêu Thống as a puppet ruler. Although Lê Chiêu Thống did not have much ruling power, he began taking a bloody revenge on Tây Sơn supporters and forced people to supply him food in spite of war and famine.