Burgdorf (Berthoud; High Alemannic: Bùùrdlef) is the largest city in the Emmental in the canton of Bern in Switzerland. It was the capital of the district of the same name until 2010, when it became part of the new Emmental district. Burgdorf it is called in the German language, Berthoud in French which is not a literal translation of Burgdorf. Berthoud is in memory of Berchthold V. Duke of Zähringen who added a plaque to the city entrance for his victory against the Burgundese. As a Latinized form of Burgdorf, Castrovilla is known, but a Villa Berchtoldi or similar has not been found to date. Scattered archeological finds indicate that the area around Burgdorf was inhabited during the Neolithic era, the Late Bronze Age and the Hallstatt. During the High Middle Ages the land that would become Burgdorf was owned by the Kingdom of Burgundy and then after 1080 by the Dukes of Zähringen. Either the kings or the dukes built a castle on the left bank of the Emme river. Burgdorf is first mentioned in 1236 as in oppido Burchtorff, while Burgdorf Castle is mentioned in 1080 as castellum Bertoldi ducis. The Zähringen dukes built a city (upper-west city section) around the castle in the last quarter of the 12th century. After the extinction of Zähringen line, Burgdorf passed to the Counts of Kyburg. They expanded the city in 1278 with the upper-east section and between 1278 and 1300 absorbed the Holzbrunnen settlement which became the lower town. By 1300 the city had expanded to fill the town walls. Starting in 1323 there was a ban on construction within the walls, which marked the border of the city until 1800. Under the Kyburg or Neu-Kyburg Counts, Burgdorf Castle was the capital of the county, and the Counts were the mayors of Burgdorf town. In the 14th century, the Neu-Kyburgs became increasingly indebted. On 11 November 1382, Count Rudolf II of Neu-Kyburg, launched a raid against the city of Solothurn to try and force the city to forgive his debts. For the city of Bern, this attack on an allied city represented an excellent opportunity for the city to break its ties with the Neu-Kyburgs.