In 1825, after the decisive victory of the republicans at Ayacucho over the Spanish army in the course of the Spanish American wars of independence, the city's full name was changed to ''La Paz de Ayacucho'' (meaning ''The Peace of Ayacucho'').