Task: Text Categorization
Input (English): This ruler parodied Christs entry into Jerusalem in the Most Drunken Synod, and gave control of church property to the Monastery Chancellery. He took power after overthrowing Golitisin and Sofia and later imprisoned his son Alexei, before defeating Charles XII at the Battle of Poltava to win the Great Northern War. For 10 points, name this man who imposed a head and beard tax in order to pay for his creation of Russias navy and modernized Russia during his rule from 1682 to 1725.
Output (English): History