 Complete the following phrase:  During the 1670s and 1680s, the English Royal Navy succeeded in permanently ending the threat to English shipping from the Barbary corsairs, inflicting defeats which induced the Barbary states to conclude long-lasting peace treaties. Following the Glorious Revolution of 1688, England joined the European coalition against Louis XIV in the War of the Grand Alliance 16881697. Louis recent shipbuilding programme had given France the largest navy in Europe. A combined Anglo-Dutch fleet was defeated at 