It was common knowledge among the top officers of the liberation army from the south that their leader San Martin wished to liberate present-day Ecuador and add it to the future republic of Peru, since it had been part of the Inca Empire before the Spaniards conquered it.