 The decree of Aarau on 30 May 1798 combined it with Mendrisio as part of the Helvetic Republic.In 1910, the Mendrisio electric tramway opened, linking a northern terminus in Riva San Vitale with Capolago, Mendrisio, Balerna and Chiasso.The section of the line in Balerna closed in 1950 and was replaced by a bus service.