In the 1628 War of the Mantuan Succession, the dukes of Modena sided with Habsburg Spain and in turn received the town of Correggio from the hands of Emperor Ferdinand II. During the War of the Spanish Succession, Duke Rinaldo was ousted by French troops under Louis Joseph de Bourbon, he could not return until 1707. In 1711 the small Duchy of Mirandola was absorbed by the Este. His successor Francesco III backed France in the 1740 War of the Austrian Succession, and was expelled by Habsburg forces, but his duchy was restored by the 1748 Treaty of Aix-la-Chapelle.