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.
Later in the Middle Ages the town was under the Marquisses of Gavi, allied with Frederick Barbarossa, who took refuge here after the Battle of Legnano. In 1202 Gavi was sold to the Republic of Genoa. After a parenthesis under the Visconti and France, it returned to Genoa in 1528.
In 1625, during the First Genoese–Savoyard War, it was attacked and stormed by French-Savoy troops, but the Genoese retook it after only 21 days. It was decided to turn Gavi into a powerful fortress. After a French domination from 1804, in 1815 it was assigned to the Kingdom of Sardinia.
The fortress was later turned into a penitentiary; during World War II it was used as a POW camp (P.G. 5, a "bad boys" prison for those who attempted escape from other camps[3]).
Main sights
The fortress, rebuilt in the 17th century around the pre-existing castle.
Church of San Giacomo Maggiore, in Romanesque style
Municipal Palace. Remains of its medieval line of wall can be seen today.
Franciscan convent of Nostra Signora dele Grazie della Valle, outside the town (18th century). It houses a statue of St. Bernardino and a painting of the Virgin from the 15th century.
Wine
Gavi is in the DOCG region of Cortese di Gavi; Cortese di Gavi produced within the comune of Gavi may be labeled "Gavi di Gavi".