Q: In this task you will be given a text passage from a trivia quiz. You should choose the category this question belongs to from these categories: History, Science, Social Science, Fine Arts, Literature. You can only choose one category, so if in doubt, please choose the closest match.
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.
A:
History