William V assumed the position of
stadtholder and Captain-General of the
Dutch States Army on his majority in 1766. However, he allowed the Duke of Brunswick to retain a large influence on the government with the secret
Acte van Consulentschap. On 4 October 1767 in Berlin, Prince William married
Princess Wilhelmina of Prussia, the daughter of
Augustus William of Prussia, niece of
Frederick the Great and a cousin of
George III. (He himself was George III's first cousin). He became an art collector and in 1774 his
Galerij Prins Willem V was opened to the public. ( 1768–1769) The position of the Dutch during the
American War of Independence was one of
neutrality. William V, leading the pro-British faction within the government, blocked attempts by pro-American, and later pro-French, elements to drag the government to war in support of the Franco-American alliance. However, things came to a head with the Dutch attempt to join the Russian-led
League of Armed Neutrality, leading to the outbreak of the
Fourth Anglo-Dutch War in 1780. In spite of the fact that Britain was engaged in fighting on several fronts, the war went badly for the Dutch, leading to the loss of the undefended Caribbean island of
Sint Eustatius, a major supplier of contraband arms to the Americans, as well as
Nagapattinam. Scandals like the
Brest Affair undermined belief in the Dutch navy. The stadtholderian regime and the Duke of Brunswick were suspected of treason in the matter of the loss of the
Barrier fortresses. The deterioration of the prestige of the regime made minds ripe for agitation for political reform, like the pamphlet
Aan het Volk van Nederland, published in 1781 by
Joan van der Capellen tot den Pol. After the signing of the
Treaty of Paris (1783), there was growing restlessness in the United Provinces with William's rule. A coalition of old
Dutch States Party regenten and democrats, called
Patriots, was challenging his authority more and more. Mid September 1785 William left The Hague and removed his court to
Het Loo Palace in
Gelderland, a province remote from the political center. In September 1786 he sent States-Army troops to
Hattem and
Elburg to overthrow the cities' Patriot
vroedschap, despite the defense by Patriot
Free Corps, organised by
Herman Willem Daendels. This provoked the Patriot-dominated
States of Holland to deprive him of his office of Captain-General of the Army. (His function was given to
Rhinegrave Salm.) In June 1787 his energetic wife Wilhelmina tried to travel to
The Hague to foment an
Orangist rising in that city. Outside
Schoonhoven, she was stopped by the Gouda Free Corps, taken to a farm near
Goejanverwellesluis and after a short detention made to return to
Nijmegen. To Wilhelmina and her brother,
Frederick William II of Prussia, this was both an insult and an excuse to intervene militarily. Frederick launched the
Prussian invasion of Holland in September 1787 to suppress the Patriots. Many Patriots fled to the North of France, around
Saint-Omer, in an area where Dutch was spoken. Until his overthrow they were supported by King
Louis XVI of France. ==Exile in Great Britain and Ireland==