The city was founded during the Nam tiến southward expansion of Vietnam in the 16th century and Buddhism was introduced to the lands of the former territory of Champa, which was Hindu.
The temples were the base of Buddhist protests and government attacks, the result of which was a political crisis that precipitated a military coup that saw the deposal of Diem.
During the times of the Trần dynasty, Đại Việt made repeated raids south into modern day central Vietnam, which was then the location of the Kingdom of Champa, which was a Hindu culture.
The border was often shifted back and forth, and in one instance, the Champa under Chế Bồng Nga managed to raid and attack Hanoi in the late 14th century.
South Vietnam's Buddhist majority had long been discontented with the rule of President Ngô Đình Diệm since his rise to power in 1955.
Diem had shown strong favouritism towards his fellow Catholics and discrimination against Buddhists in the army, public service and distribution of government aid.
As a result, Buddhist protests were held across the country and steadily grew in size, asking for the signing of a Joint Communique to end religious inequality.
As troops attempted to stretch a barbed wire barricade across the bridge leading to the pagoda, a large crowd of pro-Buddhist laypeople and anti-government protesters tore it down with their bare hands.
The crowd then fought the heavily armed military personnel with rocks, sticks and their bare fists, throwing back the tear gas grenades that were aimed at them.
After a five-hour battle, the military finally won control of the bridge at dawn by driving armored cars through the angry crowd.
[11] Thiên Mụ Temple, with its seven storied pagoda, the tallest in Vietnam, is often the subject of folk rhymes and ca dao about Huế, such is its iconic status and association with the city.
According to the royal annals, Hoang was on a sightseeing trip and holiday to see the seas and mountains of the local area when he passed by the hill which is now the site of the Thiên Mụ Temple.
He heard of a local legend, in which an old lady, known as Thiên Mụ (literally "fairy woman"), wearing a red shirt and blue trousers, sat at the site, rubbing her cheeks.
The bell is said to be audible 10 km away and has been the subject of many poems and songs, including one by Emperor Thiệu Trị of the Nguyễn dynasty who ruled in the 1840s.
In 1841, Vietnam had been unified in its modern state by the Nguyễn dynasty and Emperor Thiệu Trị ordered that the temple be renamed so that it did not conflict with his name.
[6][11] During the period of the Nguyễn dynasty in the 19th century, Emperor Thiệu Trị declared Diệu Đế Temple to be one of the national pagodas of Vietnam.