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 or Romania. the country gained recognition of independence in 1878. it joined the allied powers in world war 1 and acquired new territories most notably Transylvania following the conflict in 1940 Romania allied with axis powers and precipitated in 1941 German war.