Input (grade 6): Glarus (German:;;;) is the capital of the Canton of Glarus in Switzerland.
Output (grade 5): It became the capital of the Linth valley in 1419.