How many centuries did it take to form Peru ?
Nevertheless , as far as things concerned Chile , Peru still owed a debt to the Chilean government as a result of this government helping in the liberation of Peru from Spain , and both nations were still under a commercial competition as to which port would become the most important in the southern Pacific coasts ( Callao in Peru or Valparaíso in Chile ) .