In the aftermath of the execution of King Louis XVI, revolutionary France was attacked by Prussian and Holy Roman forces from the Austrian Netherlands. Though the French defeated the Austrian army in the Battle of Jemappes in 1792 and briefly occupied the Austrian Netherlands and Prince-Bishopric of Liège, they were pushed out by an Austrian counterattack in the Battle of Neerwinden the following year. In June 1794, French revolutionary troops expelled Holy Roman forces from the region for the last time after the Battle of Fleurus. The French government voted to formally annex the territory in October 1795 and it was split into nine provincial "départements" within France.