How did Peter the Great expand Russia’s borders?

AHe gained control of a warm-water port along the Black Sea and defeated the vast Ottoman empire, taking over their lands.
BHe gained control of Poland and took over parts of Austria in a petition signed by Peter, Frederick the Great, and Emperor Joseph II.
CHe defeated the Swedes to gain control of the land along the Baltic Sea, and he signed a treaty with China to gain rights to lands north of Manchuria.
D...