 The area of Gavi was already settled in Neolithic times; later it perhaps housed a Roman military outpost defending the Via Postumia.After the fall of the Western Roman Empire it was captured by the Magyars and later by the Saracens.According to the legend, the current name would derive from that of a princess of the latter, Gavia or Gavina, who had established herself in a castle here.