During the Anglo-French War (1778), the internal territory was divided into two groups: the Patriots, who were pro-French and pro-American, and the Orangists, who were pro-British. The Republic of the United Provinces faced a series of republican revolutions in 1783–1787. During this period, republican forces occupied several major Dutch cities. Initially on the defence, the Orangist forces received aid from Prussian troops and retook the Netherlands in 1787. The republican forces fled to France, but then successfully re-invaded alongside the army of the French Republic (1793–1795), ousting stadtholder William V, abolishing the Dutch Republic, and replacing it with the Batavian Republic (1795–1806). After the French Republic became the French Empire under Napoleon, the Batavian Republic was replaced by the Napoleonic Kingdom of Holland (1806–1810).