The town originates from a castle built here by the commune of Treviso in the course of its strife against Padua (1195). In 1246, it was captured by Ezzelino III da Romano, returning to Treviso after his death in 1259. In 1329, it was acquired by Cangrande I della Scala, lord of Verona.