Aarburg Castle is located high above the town Aarburg on a steep, rocky hillside. The castle was built around a medieval castle, which controlled the narrow point on the Aare river and served as the seat of Aarburg Vogt. Today it houses the Kantonale Jugendheim, for holding and rehabilitating juvenile offenders.
The exact year of construction of the castle is not known. However, it was probably built around 1200 by the Lords of Büron. The building was mentioned at the beginning of the 13th Century, in the possession of the Counts of Frohburg. The Vogtei (a bailiff or vogt was an overlord exerting guardianship or military protection as well as secular justice over a certain territory) was created to better control and monitor the important north-south trade route over the Aare River. Together with the Vogt's seat, the high court was also held at the castle. The administration area included the western part of today's District Zofingen, but without the city of Zofingen. In 1299 the Frohburgs sold the castle and the entire Vogtei to the Habsburgs. After about 1330 the Family von Kriech, a lower nobility family in the service of the Habsburgs, lived in the castle.
On 20 April 1415, the castle fell after a brief siege by the town of Bern. The Bernese took over the lower and the high court. Starting in 1416 a Bernese bailiff resided in the castle. The bailiff managed the entire Bernese Aargau. Only later, once Bern had suppressed the rights of the nobility and the clergy, additional bailiwicks were added: Lenzburg (1442), Schenkenberg (1460), Biberstein (1499) Zofingen (1528), Königsfelden (1528) and Kasteln (1732).
The castle was extended in several stages, the first was the rebuilding of the palace in 1470. Subsequent modifications in the 16th century (1534/35) and especially in the 17th Century (1621, 1659–1673) led to the creation of the huge baroque structure. Its purpose was to protect the connection between the Protestant towns of Bern and Zurich at the narrowest point of the Bernese dominion and thus complicate any attacks from Catholic neighbors. From 1666, the fortress was occupied continuously by a garrison, the Governor was now at the same commander. One part of the fortress served as a prison, especially for political prisoners. The best known prisoner is Jacques-Barthélemy Micheli du Crest. On 10 March 1798, the castle fell without a fight to the French Army.
In 1804, the newly created Canton of Aargau took over the castle. Initially it served as an arsenal and barracks, then from 1826 to 1864 as a prison before it was left abandoned. The Cantonal Parliament decided in 1891 to establish an 'institution for juvenile criminals and scoundrels' in the castle. Opened in 1893, compulsory education institution was the first of its kind in Switzerland.
On the narrow, elongated ridge, the core of the castle was built. This core consisted of a keep and a tower house from the 13th Century. The keep's walls are 3 to 3.5 metres thick, and consist entirely of limestone. The bottom floor has been carved directly from the rock. The tent-like roof was built in 1557. In 1621/22 the castle grew toward the south, with an additional living area and stair tower. On the northeast and west side are the large, heavily fortified buildings. The cell block on the south side was replaced in 1954/55 by a house for the educational staff, but it was built in harmony with the historic buildings.References:
First record of Kastelholma (or Kastelholm) castle is from the year 1388 in the contract of Queen Margaret I of Denmark, where a large portion of the inheritance of Bo Jonsson Grip was given to the queen. The heyday of the castle was in the 15th and 16th centuries when it was administrated by Danish and Swedish kings and stewards of the realms. Kastelhoma was expanded and enhanced several times.
In the end of 16th century castle was owned by the previous queen Catherine Jagellon (Stenbock), an enemy of the King of Sweden Eric XIV. King Eric conquered Kastelholma in 1599 and all defending officers were taken to Turku and executed. The castle was damaged under the siege and it took 30 years to renovate it.
In 1634 Åland was joined with the County of Åbo and Björneborg and Kastelholma lost its administrative status.