Lê Hoàn
In October 979, a eunuch named Đỗ Thích killed Đinh Bộ Lĩnh and Đinh Liễn. The general Lê Hoàn took power as regent while five-year-old Đinh Toàn occupied the throne. Rebellions erupted. At this juncture, Northern Song sent troops under Hou Renbao in attempt to restore the throne of the young king. However, the threat of renewed Chinese intervention in Vietnam caused court officials to support Lê Hoàn's bid for power. They urged him to become king and establish a more stable government, prepare for the Chinese invasion. In 980, officials and generals gathered at Hoa Lư and queen Dương Vân Nga brought out the king's robe to put on Lê Hoàn, offering him the throne.