On April 14, 1864, in retaliation for Peru's refusal to pay an indemnity, the Spanish fleet seized the lightly defended Chincha Islands.
Admiral Pareja arrived in Peru in December 1864 and immediately opened negotiations with General Manuel Ignacio de Vivanco, the special representative of Peruvian President Juan Antonio Pezet.