Lê Hoàn
The short-lived reign of Đinh Toàn, now Đinh Phế Đế was perturbed by the revolt of Đinh Điền and Nguyễn Bặc who had been important officials in the royal court of Đinh Tiên Hoàng while the country also had to face with the intrusion led by Ngô Nhật Khánh, son-in-law of Đinh Tiên Hoàng, with reinforcements from the kingdom of Champa in the southern border. The rebellion of Đinh Điền and Nguyễn Bặc was quickly put down by Lê Hoàn but in the north, the Song Dynasty began an invasion of Đại Cồ Việt in profiting its chaotic situation after the death of Đinh Tiên Hoàng, finally Dương Vân Nga and the general Phạm Cự Lượng with the agreement from the majority of officials in royal court, decided to elevate Lê Hoàn for the throne so that the country had an able ruler who could deal with grave troubles at that time, hence the Early Lê Dynasty was established and replaced the Đinh Dynasty.