Novi Ligure remained part of the Republic of Genoa until 1805, with the exception of a brief Austrian-Piedmontese occupation in 1745–46. In 1799 it was the site of a French defeat by an Austro-Russian army, in which the French commander Joubert was killed.