Donauwörth was later the scene of the Battle of Schellenberg (or Battle of Donauwörth) on 2 July 1704, during the War of the Spanish Succession (1702–1713). The battle was named after the village and high ground behind the city. The Duke of Marlborough was marching from Flanders to Bavaria and came to the Danube river. The French decided to make a crossing of the Danube at Donauwörth, where they were surprised by Marlborough's troops and after heavy fighting pulled back. This allowed Marlborough to capture Donauwörth and cross the Danube without any problem. About 5,000 French troops drowned while trying to escape.