 During the war between Milan and Como (1118–27) a castle was built, which was the origin of the municipality's name.By the mid-13th century, it passed back and forth between the Bishop of Como and the Russ and Rusconi family.At the end of the 14th century, it finally fell into the hands of the family.