French troops stop allied invasion of France, during the War of the First Coalition at the Battle of Valmy.

The Battle of Valmy, also known as the Cannonade of Valmy, was the first major victory by the army of France during the Revolutionary Wars that followed the French Revolution. The battle took place on 20 September 1792 as Prussian troops commanded by the Duke of Brunswick attempted to march on Paris. Generals Franois Kellermann and Charles Dumouriez stopped the advance near the northern village of Valmy in Champagne-Ardenne.

In this early part of the Revolutionary Warsknown as the War of the First Coalitionthe new French government was in almost every way unproven, and thus the small, localized victory at Valmy became a huge psychological victory for the Revolution at large. The outcome was thoroughly unexpected by contemporary observersa vindication for the French revolutionaries and a stunning defeat for the vaunted Prussian army. The victory emboldened the newly assembled National Convention to formally declare the end of monarchy in France and to establish the French Republic. Valmy permitted the development of the Revolution and all its resultant ripple effects, and for that it is regarded by historians as one of the most significant battles in history.

The War of the First Coalition (French: Guerre de la Première Coalition) was a set of wars that several European powers fought between 1792 and 1797 initially against the constitutional Kingdom of France and then the French Republic that succeeded it. They were only loosely allied and fought without much apparent coordination or agreement; each power had its eye on a different part of France it wanted to appropriate after a French defeat, which never occurred.Relations between the French revolutionaries with neighbouring monarchies had deteriorated following the Declaration of Pillnitz in August 1791. Eight months later, following a vote of the revolutionary-led Legislative Assembly, France declared war on Austria on 20 April 1792; Prussia, having allied with Austria in February, declared war on France in June 1792. In July 1792, an army under the Duke of Brunswick and composed mostly of Prussians joined the Austrian side and invaded France. The capture of Verdun (2 September 1792) triggered the September massacres in Paris. France counterattacked with victory at Valmy (20 September) and two days later the Legislative Assembly proclaimed the French Republic.

Subsequently, these powers made several invasions of France by land and sea, with Prussia and Austria attacking from the Austrian Netherlands and the Rhine, and the Kingdom of Great Britain supporting revolts in provincial France and laying siege to Toulon in October 1793. France suffered reverses (Battle of Neerwinden, 18 March 1793) and internal strife (War in the Vendée) and responded with draconian measures. The Committee of Public Safety was formed (6 April 1793) and the levée en masse drafted all potential soldiers aged 18 to 25 (August 1793). The new French armies counterattacked, repelled the invaders, and advanced beyond France.

The French established the Batavian Republic as a sister republic (May 1795) and gained Prussian recognition of French control of the Left Bank of the Rhine by the first Peace of Basel. With the Treaty of Campo Formio, the Holy Roman Empire ceded the Austrian Netherlands to France and Northern Italy was turned into several French sister republics. Spain made a separate peace accord with France (Second Treaty of Basel) and the French Directory carried out plans to conquer more of the Holy Roman Empire.

North of the Alps, Archduke Charles, Duke of Teschen redressed the situation in 1796, but Napoleon carried all before him against Sardinia and Austria in northern Italy (1796–1797) near the Po Valley, culminating in the Treaty of Leoben and the Treaty of Campo Formio (October 1797). The First Coalition collapsed, leaving only Britain in the field fighting against France.