 It contains the rich library of Giulio Giovanni Gerolamo Berna, the archpriest of Locarno.The church of San Martino in Sornico is first mentioned in the 14th century, but probably dates back to the 11th century.It was the mother church in the 16th century of the Val Lavizzara and in 1747 became a provost's church.