Charles's restoration, the Navigation Acts of 1650 had hurt Dutch trade by giving English vessels a monopoly, and had started the First Dutch War (1652–1654). To lay foundations for a new beginning, envoys of the States General appeared in November 1660 with the Dutch Gift. The Second Dutch War (1665–1667) was started by English attempts to muscle in on Dutch possessions in Africa and North America. The conflict began well for the English, with the capture of New Amsterdam (renamed New York in honour of Charles's brother James, Duke of York) and a victory at the Battle of Lowestoft, but in 1667 the Dutch launched a surprise attack on England (the Raid on the Medway) when they sailed up the River Thames to where a major part of the English fleet was docked. Almost all of the ships were sunk except for the flagship, Royal Charles, which was taken back to the Netherlands as a prize. The Second Dutch War ended with the signing of the Treaty of Breda. As a result of the Second Dutch War, Charles dismissed Lord Clarendon, whom he used as a scapegoat for the war. Clarendon fled to France when impeached for high treason (which carried the penalty of death). Power passed to five politicians known collectively by a whimsical acronym as the Cabal—Clifford, Arlington, Buckingham, Ashley (afterwards Earl of Shaftesbury) and Lauderdale. In fact, the Cabal rarely acted in concert, and the court was often divided between two factions led by Arlington and Buckingham, with Arlington the more successful. In 1668, England allied itself with Sweden, and with its former enemy the Netherlands, to oppose Louis XIV in the War of Devolution. Louis made peace with the Triple Alliance, but he continued to maintain his aggressive intentions towards the Netherlands. In 1670, Charles, seeking to solve his financial troubles, agreed to the Treaty of Dover, under which Louis XIV would pay him £160,000 each year. In exchange, Charles agreed to supply Louis with troops and to announce his conversion to Catholicism "as soon as the welfare of his kingdom will permit". Louis was to provide him with 6,000 troops to suppress those who opposed the conversion. Charles endeavoured to ensure that the Treaty—especially the conversion clause—remained secret. It remains unclear if Charles ever seriously intended to convert. Meanwhile, by a series of five charters, Charles granted the East India Company the rights to autonomous