 The federation of thirteen cantons ("Dreizehn Orte") constituted the Old Swiss Confederacy until its demise in 1798.The expansion of the confederacy was stopped by the Swiss defeat in the 1515 Battle of Marignano.Only Berne and Fribourg were still able to conquer the Vaud in 1536; the latter primarily became part of the canton of Berne, with a small portion under the jurisdiction of Fribourg.