When the French revolution guillotined King Louis XVI, King Victor Amadeus III of Sardinia declared war on the French Republic, but in three successive engagements, the Battle of Montenotte (12 April 1796), the Battle of Millesimo (13–14 April 1796) and the Battle of Mondovi (21 April 1796), General Napoleon Bonaparte defeated the Piedmontese. In suing for peace, Victor Amadeus was forced to cede Savoy and Nice to France. The territory, including the diocese of Ivrea, became part of the Department of Mont-Blanc. King Victor Amadeus died on 18 October 1796, and his son and successor, Carlo Emanuele was forced to abdicate on 6 December 1798.