 The Swiss destroyed the entire castle, except for the chapel, in 1517.On the castle's foundations, the church of Santa Maria dei Miracoli was built some time after 1595.The church was consecrated in 1613 and elevated in 1776 to a parish church, when Morbio separated from the parish of Balerna.