After the second war with Denmark in 1864, Holstein came under Austrian, Schleswig and Lauenburg under Prussian administration. But the internal difficulties continued. Diets replaced the parliament in 17 provinces, the Hungarians pressed for autonomy, and Venetia was attracted by the now unified Italy.