From 1661 to 1664 Montecuccoli, with inferior numbers, defended Austria against the Turks but at St. Gotthard Abbey, on the Rába, he and Carl I. Ferdinand Count of Montenari defeated the Turks so comprehensively that they entered into a twenty-year truce. They were given the Order of the Golden Fleece, and Montecuccoli became president of the council of war and director of artillery. He also devoted much time to compiling his various works on military history and science. He opposed the progress of the French arms under Louis XIV, and when the inevitable war broke out he received command of the imperial forces. In the campaign of 1673 he completely outmanoeuvred his rival Turenne on the Neckar and the Rhine, captured Bonn and joined his army with that of William III, the prince of Orange on the lower Rhine.