After October 1865 López changed his war plans from offensive to defensive. On 22 September 1866, at the Battle of Curupayty, Paraguayans inflicted a great defeat on the Allied army and until November 1867 there was a relative lull in the fighting.