 During the Austro-Hungarian rule of Transylvania, Romanians formed the majority of the population.Nationality issues occurred between Hungarians and Romanians due to the Magyarization policy.After their defeat to the Russians, the Ottoman Empire restored the Danube ports of Turnu, Giurgiu and Braila to Wallachia, and agreed to give up their commercial monopoly and recognize freedom of navigation on the Danube as specified in the Treaty of Adrianople, which was signed in 1829.