The Battle of Curupayty was a key battle in the Paraguayan War. On the morning on 22 September 1866, the joint force of Brazilian, Argentine, and Uruguayan armies attacked Paraguayan fortified trenches on Curupayty. The Paraguayans were led by general José Eduvigis Díaz. This position was held by 5,000 men and 49 cannons, some of them in hidden places out of the attackers view. The Imperial Brazilian Navy gave support to the 20,000 assailants, but the ships had to keep some distance from the guns at the fortress of Humaitá, which led to the lack of accuracy and impact of the ship's fire. The navy's failure was crucial at the later ground battle result.