
Văn Miếu, literally translated as Temple of Literature, is a temple dedicated to Confucius in Hanoi, northern Vietnam. It was founded and first built in 1070 during the reign of Emperor Lý Thánh Tông, and it hosted the Imperial Academy, Vietnam's first national university, from 1076 to 1779. In 1803 the academy moved to the new capital of the Nguyen dynasty in Hue.