Nguyễn Tri Phương was born in 1800 in Ðường Long village, Chánh Lộc canton, Phong Ðiền district, Thừa Thiên
fu, now is Chí Long village, Phong Chương commune,
Phong Ðiền district,
Thừa Thiên Huế. Born in a peasant family, Nguyễn did not go to school, but with intelligence, high self-study and self-reliance, he made a great career. Starting from an official at the district level, due to his talent, he was promoted to the court, was recruited and in turn held many important positions during the three reigns of
Minh Mạng,
Thiệu Trị, and
Tự Đức. Phương had risen quickly in military ranks after recapturing
Hà Tiên and
defeating the Siamese army at
Châu Đốc. He succeeded
Trương Minh Giảng in 1841 as viceroy of King Thiệu Trị (reigned 1841–1847) in Southern Cochinchina. He then became a senior advisor to the next King Tự Đức (reigned 1847–83). ==Battle of Hanoi (1873)==