During the High Middle Ages the area around Oberurnen was owned by Schänis Abbey and paid taxes to Säckingen Abbey. In 1264 the Habsburgs inherited the bailiwick of Glarus from the Counts of Kyburg. About two decades later, in 1288, Säckingen Abbey granted them a fief over the abbey's lands as well. To consolidate their control over Glarus, the Habsburgs built Näfels Castle and probably also built or expanded Vorburg. By about 1300 the castle was a Habsburg administrative center. In the mid-14th century it was the residence of the Austrian Habsburg Vogt Hermann von Landenberg. In 1351 Glarus rebelled against the Habsburgs and attacked and destroyed Näfels Castle. They may have also attacked Vorburg, though there are no surviving records of the this. The castle was probably expanded after the destruction of Näfels, either by the Habsburgs or Glarus. In 1369 it appears in a document when a Rudolf Stucki pledged the castle as collateral. In 1386 it was mentioned as a refuge castle and was probably not regularly inhabited. In the 15th century it was abandoned and fell into ruin. Many of the stones show evidence of a large fire in the castle, but whether it was an accident or due to an attack is unknown.
The north west wall of the tower was repaired and preserved during the 19th century. In 1940 the south ring wall was excavated and stabilized. An archeological excavation in 1970 discovered traces of an outbuilding as well as a layer of animal bones.
The ruins sit on a hill north of the village of Oberurnen. The palas was a rectangle of 18 m × 21 m with walls that are about 2 m thick. The walls are made of roughly finished and squared limestone blocks with more carefully finished bossage stones at the corners. A newer wall connects the palas with a residential wing on the eastern side. South and west of the palas, a narrow zwinger and two ditches protected the castle. Traces of the foundations of a bridge over the north side of the inner ditch are still visible. The gatehouse was probably on the north side of the ring wall. The palas was probably built at the end of the 13th century, while the ring wall, zwinger and other out buildings are from the early 14th.
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.