 Taking advantage of the situation, Song China invaded Annam.Facing such a grave threat to national independence, the commander of the armed forces, (Thập Đạo Tướng Quân) Lê Hoàn took the throne, founding the Early Lê dynasty.A capable military tactician, Lê Hoan realized the risks of engaging the mighty Song troops head on; thus he tricked the invading army into Chi Lăng Pass, then ambushed and killed their commander, quickly ending the threat to his young nation in 981.