Peruvian War of Independence
In 1822 during the Peruvian War of Independence, troops from both the Liberating Expedition of Peru ("Expedición Libertadora del Perú") and the United Liberating Army of Peru ("Ejército Unido Libertador del Perú") used a standard that was identical to the modern flag of Chile, except their flag had three stars in the canton, representing the three nations united by the cause of independence: the Argentine provinces, Chile and Peru.