 Lê Long Đĩnh had become so ill that he had to lie down when meeting with his officials in court.When the king Lê Long Đĩnh died in 1009, a palace guard commander named Lý Công Uẩn was nominated by the court to take over the throne, and founded the Lý dynasty.This event is regarded as the beginning of another golden era in Vietnamese history, with the following dynasties inheriting the Lý dynasty's prosperity and doing much to maintain and expand it.