Before revision: Because it happened simultaneously when the Peru–Bolivian confederation was engaged in a parallel war against the Republic of Chile , in the so-called War of the Confederation, the first conflict referred here is often confusedwith the second.
After revision: Because it happened while the Peru–Bolivian Confederation was engaged in a parallel war against the Republic of Chile during the so-called War of the Confederation, the first conflict referred here is often confusedwith the second.