Italy became a nation-state in 1861 when the regional states of the peninsula , along with Sardinia and Sicily , were united under King Victor EMMANUEL II .