Peter later wanted to get power in the oceans. But Sweden had some nice power in Baltic Sea so he decided to go after the Black Sea. The Black Sea was controlled by the Ottoman Empire. His main goal was to capture the fortress of azov. His first attempt was a failure but later got it.