The decline of the city reached its nadir with the War of Spanish Succession (1702–1709), marking the end of the political and legal independence of the Kingdom of Valencia. During the War of the Spanish Succession, Valencia sided with the Habsburg ruler of the Holy Roman Empire, Charles of Austria. King Charles of Austria vowed to protect the laws of the Kingdom of Valencia ("Furs"), which gained him the sympathy of a wide sector of the Valencian population. On 24 January 1706, Charles Mordaunt, 3rd Earl of Peterborough, 1st Earl of Monmouth, led a handful of English cavalrymen into the city after riding south from Barcelona, captured the nearby fortress at Sagunt, and bluffed the Spanish Bourbon army into withdrawal.