During the 13th century Prussian Crusade, the current Gvardeysk area was conquered by the Teutonic Knights. To protect Samland from the Nadrovians and Scalovians, the crusaders built a wooden fort between the Deime and Pregel rivers from 1283–90. This was replaced by Tapiau Castle, a stone Ordensburg, in 1351. Vytautas, forthcoming grand duke of Lithuania was baptised here in 1383 after he breached of Krėvė prison. Since 1450 town and castle was named Tapiau. After Teutonic state was downed by Poland and Lithuania, Teutons moved order archives to Tapiau castle and kept it during 1469-1722. Later Tapiau castle was abbandoned. Soviets built a jail on the mound, it remains active.
References:The Walls of Constantinople are a series of defensive stone walls that have surrounded and protected the city of Constantinople (today Istanbul) since its founding as the new capital of the Roman Empire by Constantine the Great. With numerous additions and modifications during their history, they were the last great fortification system of antiquity, and one of the most complex and elaborate systems ever built. They were also the largest and strongest fortification in both the ancient and medieval world.
Initially built by Constantine the Great, the walls surrounded the new city on all sides, protecting it against attack from both sea and land. As the city grew, the famous double line of the Theodosian Walls was built in the 5th century. Although the other sections of the walls were less elaborate, they were, when well-manned, almost impregnable for any medieval besieger.