The Burghausen Castle in Burghausen, Upper Bavaria is the longest castle complex in Europe (1,043 m).