Koporye (Russian: Копорье; Finnish: Kaprio; Swedish: Koporje) is a historic village (selo) in Leningrad Oblast, Russia, located about 100 km (62 mi) to the west of St. Petersburg and 12 km (7.5 mi) south of the Koporye Bay of the Baltic Sea. It contains some of the most impressive medieval ruins in Russia.
The first wooden fortress on the coast of the Koporye Bay was built by the Teutonic Knights in 1240, only to be destroyed by Alexander Nevsky the next year. The second fortress was built in stone by Alexander's son Dmitry Alexandrovich in 1280. Enraged by the prince's independence, the Novgorodians razed the fortress two years later.
The Swedes took advantage of the lack of a fortress and occupied the banks of the Narova river. The Novgorodians had to restore the stone fort in 1297. Koporye was the strongest stronghold in the region and survived numerous attacks during the Swedish-Novgorodian Wars.
After Novgorod's incorporation into Muscovy, the fortress was strengthened and rebuilt to withstand cannon fire. Most extant structures belong to that period. Russian forces surrendered Koporye during the Livonian War but regained it under the Treaty of Tyavzino.