Peruvian War of Independence
Tradition says that Huari was founded by Juán Huarín. The foundation corresponded to the viceroyalty of Francisco de Toledo, Count of Oropesa in 1572, and was founded under the name of Santo Domingo de Huari. Its creation as a district was carried out during the Peruvian War of Independence.