Given the task definition and input, reply with output. 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.

This ruler's chief minister, Georg Heinrich von Gortz, became hated for debasing his nation's currency through the issuing of copper tokens. This ruler manipulated the Ottoman Sultan Ahmed III into an unpopular war with Russia, therefore making himself the target of an uprising called the "kalabalik." He was killed while besieging the fortress of Fredriksten, after which his army was decimated by a brutal winter while making this ruler's namesake "Death March." After two early victories, he forced (*) Frederick IV and Augustus the Strong to sign the Treaties of Travendal and Altranstadt, respectively, but he is perhaps best known for a crushing defeat he suffered after allying himself with the Cossack Hetman Ivan Mazepa. For 10 points, name this loser of the Battle of Poltava, who ruled as King of Sweden for much of the Great Northern War.
History