 The way Lý Công Uẩn ascended to the throne was rather uncommon in Vietnamese history.As a high-ranking military commander residing in the capital, he had all opportunities to seize power during the tumultuous years after Emperor Lê Hoàn's death, yet preferring not to do so out of his sense of duty.He was in a way being "elected" by the court after some debate before a consensus was reached.