He tried to create an alliance with the states and nations which were neighbours with Hungary, like the Principality of Serbia or Moldavia and Wallachia, and supported the Polish Uprising of 1863–1864 against Russia.