Original: Locarno was the administrative center of the parish of Locarno.
Simplified: Locarno is the capital of the Locarno district in the Swiss canton of Ticino.