Task: Text Categorization
Input (English): The negotiations of Edward Thorton played an important role in the leadup to this conflict, and an initial offensive by one side stalled following a defeat at Yatai. The other side spent several months retraining under the leadership of Marshal Caxias. Venancio Flores rose to power with the support of Brazil, overthrowing the government of Atanasio Aguirre in Uruguay prior to the start of this conflict. The tide turned in this war after Pedro Meza's defeat at Riachuelo, and Bartolome Mitre refused to grant passage for the forces of one leader at the outset. For 10 points, name this conflict that saw the death of dictator Francisco Solano Lopez and the destruction of Paraguay.
Output (English): History