Known since the 12th century as Cupianum, it was seat of an ancient pieve of the Diocese of Pavia and it was part of the Campagna Sottana of Pavia. It was, during the 14th century, signoria of the Beccaria of Pavia. In 1622 it was conquered by the Salerno and in 1647 by the Omodei (both of Pavia), and in 1717 by the Modignani of Lodi.[3]