In 574, the Lombard King Cleph built a castle here. According to some sources, the battle between the Franks of Pippin the Younger and the Lombards of Aistulf occurred in the nearby in 750. Later Avigliana depended from the Abbey of Novalesa, and subsequently it was a possession of the House of Savoy.