The name of the rulers of the Trachselwald Castle was first mentioned in 1131. The castle itself may date back to the 10th century but the 11th or 12th century is more likely. At first it belonged to the barons of Trachselwald, then to the barons of Rüti bei Lyssach, and then those of Sumiswald. The barons of Sumiswald sold the castle and surrounding lands to the city of Bern. Bern turned the castle into a sheriffhood.
The castle was rebuilt or expanded several times. Its oldest parts are the keep, which was built out of tuff, and one half of the main building. These parts of the castle were built in the second half of the 12th century. The stair tower was probably built by a master craftsman from Prismell in 1641.
During the Swiss peasant war of 1653, the peasant leader Niklaus Leuenberger, who was arrested on June 19, 1653 was held in Castle Trachselwald until being taken to Bern, where he was executed on August 27.
The castle was sacked during the 1798 French invasion, but was not burned. It became the center of administration of the district of Trachselwald.
The first castle consisted of a square keep that was about 10 m on each side. The keep and outer walls are made of tuff stone cut into roughly squared blocks which indicates construction before 1200. The dendrochronology dating of the beams indicates that they came from 1251 to 1253. Along with the keep, part of the main building was added during the first construction period. The original keep was probably surrounded by an elliptical ring wall.
In the 14th century the original two story keep doubled in height. In the 16th or 17th century a palas, dungeon and other buildings were added to the castle. The new additions were built in a Romanesque style, which included larger windows and thinner walls. A stair tower was added in 1641 and a granary was built in 1683. The palas was renovated during the 17th and 18th century into its current appearance. In 1751 a new, more decorative gate house was built along with a french garden.
References:The Gravensteen is a castle in Ghent originating from the Middle Ages. The name means 'castle of the counts' in Dutch. Arnulf I (918–965), Count of Flanders, was the first to fortify this place, building a medieval bastion on this high sand dune, naturally protected by the river Leie and its marshy banks. This bastion consisted of a central wooden building and several surrounding buildings, also in wood.
In the early 11th century, the wooden building was replaced by a stone residence, consisting of three large halls that made up three storeys, connected by a stone stairwell. The monumental stone staircase, the light openings, the fireplaces built into the walls and the latrines were signs of considerable luxury and comfort in those days. There was probably also a tower.