In 1826 they considered separating from Peru, but instead lead the movement to overthrow the government of José de La Mar with de la Fuente being named Vice President of Peru and taking the position of the President of the Republic until the General Agustín Gamarra succeeded him.
In 1826, they considered independence from Peru but chose to launch an alternative plan against José de La Mar's leadership. De la Fuente was appointed as Peru's Vice President and briefly served as president until Agustín Gamarra took over.