 Santa Cruz united Peru and Bolivia in the Peru–Bolivian Confederation in 1836 with a desire to expand control over Argentina and Chile.Portales got Congress to declare war on the Confederation.Portales was killed by traitors in 1837.