Đinh Phế Đế (974–1001; literally "Overthrown Emperor of the Đinh") was the second and also the last emperor of the Đinh dynasty. His birth name was Đinh Toàn (丁璿) or Đinh Tuệ (丁穗). He was the son of Đinh Tiên Hoàng and his famous empress Dương Vân Nga (Đinh Bộ Linh conferred the title of Empress on five consorts). In 980, the Regent Lê Hoàn succeeded the throne with support from Đinh Phế Đế's mother "Empress Dương Vân Nga" to lead the country against the Song dynasty invasion. Đinh Phế Đế received the title Duke of Vệ (Vệ Vương) at age 20 and died in battle at the age 27.