Task: Text Categorization
Input (English): One event in this conflict involved the attempted peaceful extrication of a ruler from a house in which hundreds of members of the retrieving force were killed, also known as the Skirmish of Bender. One treaty signed during this war handed over its instigator, the Livonian Johann Patkul, and replaced Augustus the Strong on the throne. That treaty of Altranstadt forced Poland to stop fighting in this war. A battle in this war taking place west of the Vorskla River saw 17,000 Swedes lose to an army that underwent great modernization following its defeat at Narva in this war. For 10 points, name this conflict ended by the Treaty of Nystad which included the battle of Poltava and which pitted Charles XII against Peter the Great.
Output (English): History