The Viceroy had scattered his forces all along the coast from Guayaquil to Arica. A detachment of 500 infantry, 100 horse, and two guns, under Colonel Quimper, was stationed at Pisco, but fled precipitately when the squadron anchored in the bay.

On landing San Martin issued a proclamation to his army:—

“Remember that you are come, not to conquer but to liberate a people; the Peruvians are our brothers.”

He denounced the most severe penalties on any found plundering or maltreating the inhabitants, and also issued a proclamation to the Peruvians, telling them that the new constitution established in Spain had in no way changed her colonial system:—

The last Viceroy of Peru endeavours to maintain his decrepid authority. I come to put an end to this epoch of sorrow and humiliation.”

The invaders drew plentiful supplies from the surrounding country, mounted their cavalry and recruited their infantry with 600 slaves, giving freedom to all who would join their ranks.

Pezuela, very much against his will but in obedience to orders received from the Home Government, was at this time preparing for the public swearing of the new constitution, when, on the 11th September, he received news of the landing at Pisco. He at once sent a squadron of militia to reinforce Quimper, and stationed Colonel Camba with 2,000 horse on the high road from Lima to Pisco, and, in accordance with his instructions, proposed peace to San Martin, on condition that Chile should send representatives to the Spanish Cortes to arrange their differences. Similar proposals he also sent off to the United Provinces. By this measure he recognised Chile and the United Provinces as belligerent powers, but without directly acknowledging their independence.

San Martin appointed Guido and Garcia del Rio commissioners to treat with those of the Viceroy, who were the Count Villar de Fuente and Captain Capaz, late commander of the Maria Isabel. These commissioners met at the town of Miraflores, seven miles from Lima, and at once arranged an armistice.

The Chilian commissioners declined to accept the Spanish Constitution, and rejected the proposal to send Chilian deputies to the Cortes, on which the Royalist commissioners proposed that the invading army should return to Chile, and that everything should remain in statu quo, whilst Chilian representatives went to Spain and there arranged matters with the Home Government. The others acceded to the proposition that Chile should send representatives to Spain, but proposed that the army should occupy the provinces of Potosí, Cochabamba, Chuquisaca, and La Paz, considered to be the Argentine section of Upper Peru; that the Spanish garrison of Chiloe should be included in the armistice; and that in case Bolívar should conclude a similar armistice with Morillo, the Viceroy of Peru should not reinforce the garrison of Quito.

Neither party would consent to any modification of the terms proposed by them, so the conference came to an end on the 1st October. In a private interview with the Viceroy the Chilian commissioners had insisted upon the independence of Peru as a preliminary step to any arrangement, but had expressed their willingness to accept a Prince of the Royal House of Spain as monarch of Spanish America.