The origin of the town are Gaulish and Roman, though it is first mentioned in a document from 1148. It was conquered by the Republic of Venice in the 15th century, and remained to it until 1797. In that period it became a flourishing agricultural centre.