User:CampWood/sandbox

Koporye (Копорье; Finnish: Kaprio; Koporje) is a historic village (selo) in Leningrad Oblast, Russia, located about 100 km west of St. Petersburg and 12 km south of the Koporye Bay of the Baltic Sea. Its population in 2017 was 1603.

History
The first wooden fortress on the coast of the Koporye Bay was built by the Teutonic Knights in the winter of 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.

During the Time of Troubles, Koporye was attacked by some 2000 Swedes. The Russian garrison had to surrender. In 1656, Russia unsuccessfully tried to retake the village. Koporye remained Swedish until 1703, known as Koporje or Caporie/Capurien, constituting an important part of Swedish Ingria.

As the Gulf of Finland grew shallow and receded to the north, the site began to lose its maritime importance. In 1703, during the Great Northern War, a major Russian army under Boris Sheremetev regained Koporye, which was defended by 80 Swedish soldiers under the commandant, Captain Wasili Apolloff. Huge gaps in the walls from the disastrous fire of the Russian artillery may still be seen.

Despite some repairs undertaken in the 19th century, the fortress survives in a ruined state. Today, it is a museum.