Voi Phuc Temple (Đền Voi Phục), more precisely Đền Voi Phục Thủ Lệ, is the western guardian of the Thăng Long Tứ Trấn - the four sacred temples believed to protect the old citadel of Thăng Long from each cardinal direction - standing opposite Bạch Mã (east), Quán Thánh (north), and Kim Liên (south). It sits on Kim Mã street next to Thủ Lệ Park, in what was once Thủ Lệ village, now Ngọc Khánh ward, Ba Đình district.
Note that there's a second, unrelated temple in Hanoi also called Đền Voi Phục, located on Thụy Khuê street - the two are easy to confuse, so it's worth specifying 'Thủ Lệ' when asking directions.
Founding and Linh Lang Đại Vương
The temple's founding is attributed to the Lý dynasty, with sources citing either the reign of Lý Thái Tông (1028-1054) or, more specifically, the year 1065 - which would actually place it under Lý Thánh Tông, who succeeded Thái Tông in 1054. It's dedicated to Linh Lang Đại Vương, a prince who, according to legend, was a reincarnation of a son of the Dragon King (Long Quân) and helped defeat invading Song Chinese forces; some accounts place his death in 1076 at the Cầu (Như Nguyệt) river defensive line, after which he was posthumously honoured as Đại Vương Thượng Đẳng Phúc Thần.
Local legend also explains the temple's name: whenever Linh Lang rode into battle, his elephants would kneel down so he could mount them, and two stone elephant statues kneeling at the temple gate commemorate this today. Unlike the more purely legendary or nature-deity figures honoured at some of the other Tứ Trấn temples, Linh Lang is often described as a genuine historical figure, even though his legend also carries this mythological reincarnation element.
The Largest of the Four Guardian Temples
Voi Phục is generally considered the largest and grandest of the four guardian temples, and together with the other three, it has been recognised as part of a Special National Relic.