 The situation repeated itself in Peru from 1822 to 1825 as republican forces slowly advanced there.Unlike in Mexico, however, the top military and political leadership in these parts of South America came from patriot side and not the royalists.The collapse of the constitutional regime in Spain in 1823 had other implications for the war in South America.