Anh Tông was born during the third month of 1136 as Lý Thiên Tộ, the first son of Lý Thần Tông and Lê Thị, the Emperor and Empress of Vietnam. Initially Lý Thiên Tộ wasn't chosen as the Lý Dynasty crown prince because his father preferred Lý Thiên Lộc, four years older and the son of his favourite concubine. In the ninth month of 1138, the ill emperor decided to make Lý Thiên Tộ his successor and demote Lý Thiên Lộc to PrinceMinh Đạo after a campaign launched by three other concubines of the Emperor, Ladies Cảm Thánh, Nhật Phụng and Phụng Thánh, who were afraid that the coronation of a concubine's son would threaten their positions in the royal family. Soon after naming his successor, on the 26th day of the same month, Lý Thần Tông died. On the first day of the tenth lunar month, two year old Lý Anh Tông ascended the throne. After changing the era name to Thiệu Minh, he elevated his mother to Empress Mother Lê Thịof of the Lý Dynasty. During his 37-year reign, Lý Anh Tông had three more era names: Đại Định, Chính Long Bảo Ứng and Thiên Cảm Chí Bảo.
As emperor
Early reign (1138–1157)
Since he had attained the throne at such a young age, the child emperor was ruler in name only, with the real power in the hands of Empress Lê Thị, who acted as regent for her son. Since Empress Lê Thị favored Đỗ Anh Vũ, the royal court witnessed the rising power of this official who decided almost all matters of the country and despised other officials. According to Ngô Sĩ Liên in Đại Việt sử ký toàn thư, the reason for the favouritism of Empress Lê Thị for Đỗ Anh Vũ was the secretpersonal relationship between them, as a result, some mandarins such as Vũ Đái, Nguyễn Dương, Nguyễn Quốc and Dương Tự Minh tried to topple Đỗ Anh Vũ but failed and thus died under his order. After the death of the Empress in 1147, Đỗ Anh Vũ maintained his strong position in the royal court until his own death in the eighth month of 1158. The rise of Đỗ Anh Vũ in the royal court was considered by Ngô Sĩ Liên as bad judgment on the Emperor's part, and one of the more serious weaknesses of Lý Anh Tông's reign. In 1140, the priest Thân Lợi, calling himself the son of Lý Nhân Tông, raised a revolt against Lý Anh Tông in the northern region. The army of Thân Lợi successfully dominated the frontier region and defeated the army of the royal court led by the high-ranking official Lưu Vũ Nhĩ. After the victory, Thân Lợi, proclaimed himself King Bình, and directly attacked the capital Thăng Long. Đỗ Anh Vũ, the chancellor, assumed the task of suppressing the rebellion, a mission that he accomplished after five months. Thân Lợi was later captured by Tô Hiến Thành and beheaded on the order of Lý Anh Tông. The Lý Dynasty issued several edicts during the early years of Lý Anh Tông's reign designed to lessen the more severe laws at that time. In 1142, in order to memorialize the rebellion of the Trưng sisters against the Chinese domination, Lý Anh Tông ordered the still existing Temple of Trưng sisters be built in the southern suburbs of Thăng Long. Lý Anh Tông was also considered the first emperor of Đại Việt to promote Buddhism as the state religion. Another important decision of the royal court was the military campaign against the King Jaya Harivarman I of Champa with the purpose of replacing Harivarman I with Vangsaraja, who was supported by the Lý Dynasty. In 1152, the general Lý Mông was appointed by Lý Anh Tông to command over 5,000 soldiers. Thanh Hóa and Nghệ An began the campaign which ultimately ended in defeat for the Lý Dynasty and the deaths of both Lý Mông and Vangsaraja. In 1154, to heal the broken relation with the Lý Dynasty, Jaya Harivarman I sent his daughter to Đại Việt, where Lý Anh Tông accepted her as his concubine. The decision of Lý Anh Tông was criticized by the historians Ngô Sĩ Liên and Lê Văn Hưu, who argued that instead of accepting the offer, the Emperor should have opened another campaign to punish the kingdom of Champa.
Later reign (1158–1175)
After the death of Đỗ Anh Vũ, Lý Anh Tông ruled the country with the assistance of the prominent official Tô Hiến Thành. It was Tô Hiến Thành who successfully pacified the revolt of the Ngưu Hống and Ai Lao forces on the western border in 1159, and he had another victory against the Champa army in 1167, which stabilized the southern border. Originally holding only military positions in the royal court, Tô Hiến Thành not only helped the Emperor to improve the quality of the Lý army, but he also paid attention to the development of Confucian learning in the country. On the advice of Tô Hiến Thành, Lý Anh Tông established the first temple of Confucius in Thăng Long in 1156, formerly Confucius was jointly worshipped in the Temple of Literature, Hanoi. In 1164, the relation between the Lý Dynasty and the Song Dynasty significantly changed, when the Emperor Xiaozong of Song decided to acknowledge Đại Việt as the Kingdom of Annam, which had been formerly designated the District of Giao Chỉ, by his predecessors. Thereafter the Song Dynasty formally recognized the ruler of Đại Việt as a king, instead of a district governor. Vân Đồn The principal port of trade between Đại Việt and China was also opened in 1149 by the order of Lý Anh Tông. Lý Anh Tông died in the seventh month of 1175 at the age of 39. Before his death, the emperor entrusted the regency of his 3-year-old crown prince Tô Hiến Thành, despite efforts from the empress to supply another prince for the throne. This final act by Lý Anh Tông was appreciated by the historian Ngô Sĩ Liên as a right decision to maintain the order of succession for the royal family and royal court.
Family
The first son of Lý Anh Tông, the Prince Hiển Trung Lý Long Xưởng, was born in the eleventh month of 1151. He was made crown prince of the Lý Dynasty but was stripped of all titles and imprisoned in the ninth month of 1174 after Lý Anh Tông discovered that his son had committed adultery with a concubine in the royal palace. As a result, the position of successor was changed to the second son Lý Long Trát who was born on the 25th day of the fifth month in 1173.