De Ruyter saved the situation for the Netherlands in the Third Anglo-Dutch War. His strategic victories over larger Anglo-French fleets at the Battles of Solebay (1672), the double Schooneveld (1673) and Texel (1673) warded off invasion. The new rank of Lieutenant-Admiral-General was created especially for him in February 1673, when the new stadtholder William III of Orange became Admiral-General.  Again taking the fight to the Caribbean, this time against the French, De Ruyter arrived off Martinique aboard his flagship De Zeven Provincien on 19 July 1674. He led a substantial force of eighteen warships, nine storeships, and fifteen troop transports bearing 3,400 soldiers. When attempting to assault Fort Royal, his fleet was becalmed, allowing the greatly outnumbered French defenders time to solidify their defenses. The next day, newly placed booms prevented De Ruyter from entering the harbor, but regardless the Dutch soldiers went ashore. However, without the support of the fleet's guns they were severely mauled in their attempt to reach the French fortifications atop the steep cliffs. Within two hours, the soldiers returned to the fleet with 143 killed and 318 wounded - compared to only 15 French defenders lost. His ambitions thwarted and with the element of surprise lost, De Ruyter sailed north to Dominica and Nevis, then returned to Europe while disease spread aboard his ships.  In 1676, he took command of a combined Dutch-Spanish fleet to help the Spanish suppress the Messina Revolt and fought a French fleet, under Duquesne, at the Battle of Stromboli and the Battle of Augusta, where he was fatally wounded when a cannonball struck him in the right leg. On 18 March 1677, De Ruyter was given an elaborate state funeral. His body was buried in the Nieuwe Kerk (New Church) in Amsterdam. He was succeeded as supreme commander by Cornelis Tromp in 1679.

Answer this question "What did this lead him to do" by extracting the answer from the text above.
when the new stadtholder William III of Orange became Admiral-General.