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.
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.
A:
History