CH-4912 Aarwangen: Castle
This is a machine translation of Robert Sprenger’s German original. It may contain mistakes; the original is authoritative.

This Fahri (outing) from last spring was left lying around for a long time, and at times forgotten altogether, but it suits our green winter. Aarwangen Castle was built in the 13th century by Kyburg ministerial nobles (a knightly family related to the House of Habsburg in some roundabout way) to secure the important river crossing. It stands on the south bank of the Aare, by the bridge at Aarwangen on the main road from Niederbipp to Langenthal. The castle remained in the possession of the Lords of Aarwangen until 1341. When that line died out, the village and the lordship passed to the Barons of Grünenberg, likewise ministeriales of the Habsburgs.

In 1384 the nearby Kyburg town of Burgdorf came into the possession of the city of Bern following a conflict between the Kyburgs and the Bernese. Bern forced the town to surrender by military means, but wished to avoid any appearance of unlawful appropriation. Through Confederate mediation, the towns and castles of Burgdorf and Thun changed hands for what was then the outrageous sum of 37,800 guilders.
Thereafter the Bernese purposefully extended their sphere of power eastwards. After the Confederates had wrested the Aargau from the Habsburgs in 1415, Bern bought the castle and lordship of Aarwangen from Wilhelm von Grünenberg in 1432. Aarwangen Castle became the seat of a bailiwick, which lasted until the end of the Bernese city-state in the spring of 1798. Up to that point, 75 bailiffs in all resided at the castle.

Aarwangen Castle was originally a moated castle right beside the river crossing. The castle was open towards the landward side to the east. It was protected by a horseshoe-shaped curtain wall, ditches and several ponds. The complex is dominated by the striking early Gothic defensive tower, whose walls of rusticated ashlar are up to 2.5 metres thick. The uninhabitable 13th-century main tower has nine storeys. The top storey and the volute gables were added in 1624.
Residential buildings wrap around the tower on three sides; at their core they are all medieval, but they were altered several times right up into the 20th century. The stair tower dates from 1643.

Most dreadfull tidings are related by the memorial plaque fixed to the castle wall:
"The half part of this Brigge did on the 25 July a. 1758 in the Morning at half past 3 of the Clocke, during the Prefecture of the well- & noble-born and highly honoured Juncker Landvogt Carl Manuel here, at a great Greatness of Water with hard cracking Sink in."
These days a modern, heavily used concrete bridge carries the traffic across the Aare, and it is not in the least bothered by a "great Greatness of Water". The castle has stood empty since 2012 and is for sale.
Sources:
Baugeschichte des Schlosses Aarwangen (building history of Aarwangen Castle), Daniel Möri (well worth reading)
wiki Schloss Aarwangen