As San Martín worked to establish internal stability, O'Higgins also looked to defend the country against further external threats by the Spanish and continue to roll back imperial control.
In Chilean historiography, the Patria Nueva generally ends in 1823, with the resignation of O'Higgins.