The principalities of Wallachia and Moldavia - for centuries under the suzerainty of the Turkish Ottoman Empire - secured their autonomy in 1856 ; they were de~facto linked in 1859 and formally united in 1862 under the new name of Romania .