In 1657, he rejoined the Imperial troops fighting in the Second Northern War, campaigning extensively in Poland, Prussia, Schleswig, Jutland and Pomerania. In 1661, he took part in a failed military expedition against the Turks in Transylvania. The 1663 Turkish invasion of Imperial Hungary sparked the Austro-Turkish War (1663–1664). The charge conducted by his cavalrymen at the Battle of Saint Gotthard (1664) on 6 August, gained the praise of the emperor Leopold I who assigned him the command of the sum of the Imperial cavalry and made him an Imperial Count. Six years later he was promoted to generalfeldmarschall and sent to Hungary, where he suppressed an uprising organized by the Hungarian magnates. He returned to Hungary in 1672, where he headed the bloody pacification of areas which were previously overtaken by bandits. In the meantime the empire had become embroidered in the Franco-Dutch War. In the summer of 1673, troops under the command of Sporck and Raimondo Montecuccoli marched to the Rhine where they besieged Bonn, repelling a relief attempt by French marshal Turenne. After wintering in Westphalia, he participated in the 1674 campaign in Belgium, taking Dinant, Chimay and Huy. In April 1675, he returned to the Upper Rhine and united his army with that of Montecuccoli. He retired in February 1676 due to old age. Sporck died in his Bohemian castle Hermanmester on 6 August 1679. Chavangac describes him as a master of light cavalry tactics, whose personal bravery led to the creation of exaggerated tales about his exploits. By the end of his life he had accumulated estates worth of 3 million thalers and had an annual income of 50,000 more.