Instead, he developed a new strategy to attack the Viceroyalty of Perú through the Captaincy of Chile, inspired on the writings of Sir Thomas Maitland, who was quoted as saying that the only way to defeat the Spanish at Quito and Lima was attacking Chile first.