Switzerland's forerunners established a protective alliance in the late 13th century, creating a loose confederation of states that lasted for centuries. The Federal Charter of 1291 is considered the founding document of Switzerland.