Why did Peter the Great visit Western Europe?

To get ideas for modernizing Russia
To make plans for an invasion of Europe
To formal lenses with western powers
To establish ties with other nations

The main reason Peter the Great visited Western Europe was to get ideas for modernizing Russia. He was impressed by the advancements and techniques he saw in Western European countries and sought to bring back those ideas to help modernize and westernize Russia. Additionally, he also wanted to establish ties with other nations and learn from their governments, economies, and military strategies.