 Complete the following phrase:  In the course of the Great Northern War, Sheremetev clashed with the Swedish general Lewenhaupt, who beat him at Gemäuerthof in July 1705, and Charles XII, who defeated him at Holowczyn July 1708. Sheremetevs revenge came at the Battle of Poltava in 1709, where he functioned as the senior Russian commander of the forces which soundly defeated the Swedish army. Armies under his command conquered Riga in 1710. Sheremetev then led the main forces of the army against the Ottomans in the 