Donauwörth (German: [ˌdoːnaʊˈvøːɐ̯t] ⓘ; Swabian: Donawerd) is a town and the capital of the Donau-Ries district in Swabia, Bavaria, Germany.
Donauwörth grew up in the course of the 11th and 12th centuries under the protection of the castle of Mangoldstein, became in the 13th century a seat of Duke Ludwig II of Bavaria, who, however, soon withdrew to Munich to escape from his wife, Duchess Maria of Brabant, whom he had there beheaded on an unfounded suspicion of infidelity.
The town received the freedom of the Holy Roman Empire in 1308, and maintained its position in spite of the encroachments of Bavaria till 1607, when the interference of the Protestant inhabitants with the abbot of the Heilig-Kreuz called forth an imperial law authorizing the duke of Bavaria to punish them for the offence.
In 1606, the Lutheran majority barred the Catholic Church residents of the town from holding an annual Markus procession, causing a riot to break out.
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.