Burghausen Castle in Burghausen, Upper Bavaria, is the longest castle complex in the world (1051 m), confirmed by the Guinness World Record company.

The gothic castle comprises the main castle with the inner courtyard and five outer courtyards.

The outermost point of the main castle is the Palas with the ducal private rooms. Today it houses the castle museum, including late Gothic paintings of the Bavarian State Picture Collection. On the town side of the main castle next to the donjon are the gothic inner Chapel of St. Elizabeth (1255) and the Dürnitz (knights' hall) with its two vaulted halls. Opposite the Dürnitz are the wings of the Duchess' residence.

The first outer courtyard protected the main castle and also included the stables, the brewery and the bakery. The second courtyard houses the large Arsenal building (1420) and the gunsmith's tower. This yard is protected by the dominant Saint George's Gate (1494). The Grain Tower and the Grain Measure Tower were used for stabling and to store animal food; they belong to the third courtyard. The main sight of the fourth courtyard is the late Gothic outer Chapel of St. Hedwig (1479–1489). The court officials and craftsmen worked and lived in the fifth courtyard, which was once protected by a strong fortification. In 1800 this fortification was destroyed by the French under Michel Ney.

More Info: en.wikipedia.org