Napoleon's distraction with Mexico prevented him from intervening in the Second Schleswig War in 1864 and the Seven Weeks' War in 1866. Both of those conflicts saw Prussia establish itself as the dominant power in Germany. Afterwards, tensions between France and Prussia grew, especially in 1868 when the latter tried to place a Hohenzollern prince on the Spanish throne, which was left vacant by a revolution there.