The correct answer is Peru
Simon Bolivar and Jose de San Martin joined forces to help Peru and were successful at it. Although San Martin was not a Peruvian man but rather an Argentine, he was granted the title of the Protector of Peru, even though he lived and worked in Argentina. Eventually, he abandoned all governmental positions and moved to France where he died.