In 1291 the people of Nidwalden joined Uri and Schwyz to form an alliance. At the time there was no state, but towards the end of the 14th century early forms of government were established. This included institutionalized assemblies and courts. In the 14th and 15th century the people of Nidwalden joined the people of Obwalden to discuss important matters, but the two cantons were never really one. For example, Obwalden did not participate in the annexation of Bellinzona, Riviera and Blenio areas (today in the canton of Ticino).