After four years of fighting, the French under Bonaparte had finally beaten the Piedmontese army in the Battle of Montenotte, and on 21 April 1796 in the Battle of Mondovi. This forced King Victor Amadeus III of Sardinia to sign an armistice at Cherasco one week later, abandoning the First Coalition against the French Republic.