The Temple of Literature was founded in 1070-1074 by Emperor Ly Thanh Tong, who dedicated it to Confucius(in Vietnamese, Khong tu). In 1076 Vietnam's first university was established here to educate sons of mandarins. Then well-knowledged men can join it. The Temple of Literature consists of 5 courtyards divided by walls.The central pathways and gates between courtyards were reserved for the King. There is one lake and 82 stelae here.