Situated at 3,269 m / 10,725 ft above sea level in La Libertad's sierra.
Huamachuco was founded by Augustine monks in 1553.
Huamachuco: Fiestas Patrias
A month after Independence Day, the townspeople take down the huge flagpole that has stood in the square.
Huamachuco's main square is home to some fantastically detailed tree-trimming designs.
Huamachuco: War of the Pacific
The countryside near Huamachuco was the scene of the final battle in the War of the Pacific in 1883. A Peruvian defeat signalled the end of resistance to Chilean rule.
Huamachuco is only 184 km / 114 miles from departmental capital, Trujillo, but the people have very different dress and customs to their coastal cousins.
In celebration of Peru's Independence Day on 28th July, the town of Huamachuco erects a huge flagpole, with equally large national flag.
Huamachuco: Plaza de Armas
Other tourist attractions in the region include the pre-Inca ruins of Marcahuamachuco, which date back to 400 AD.