qnli question: How many cantons were introduced as a Confederation by the Act of Mediation? sentence: Henceforth, much of Swiss politics would concern balancing the cantons' tradition of self-rule with the need for a central government.