 In 1499 it passed into the hands of Count Bartolomeo Crivelli, but it was occupied in the same year by the French.In 1512 they were followed by the Swiss Confederation, who combined it with Mendrisio into a bailiwick.As part of the bailiwick, Balerna was able to retain its privileges.