intense campaign, a formal union was ultimately granted: nevertheless, elections for the Ad hoc Divans of 1859 profited from a legal ambiguity (the text of the final agreement specified two thrones, but did not prevent any single person from simultaneously taking part in and winning elections in both Bucharest and Iași). Alexander John Cuza, who ran for the unionist Partida Națională, won the elections in Moldavia on 5 January; Wallachia, which was expected by the unionists to carry the same vote, returned a majority of anti-unionists to its divan. Those elected changed their allegiance after a mass protest of Bucharest crowds, and Cuza was voted prince of Wallachia on 5 February (24 January Old Style), consequently confirmed as Domnitor of the United Principalities of Moldavia and Wallachia (of Romania from 1862) and effectively uniting both principalities. Internationally recognized only for the duration of his reign, the union was irreversible after the ascension of Carol I in 1866 (coinciding with the Austro-Prussian War, it came at a time when Austria, the main opponent of the decision, was not in a position to intervene). Society Slavery Slavery () was part of the social order from before the founding of the Principality of Wallachia, until it was abolished in stages during the 1840s and 1850s. Most of the slaves were of Roma (Gypsy) ethnicity. The very first document attesting the presence of Roma people in Wallachia dates back to 1385, and refers to the group as ațigani (from the Greek athinganoi, the origin of the Romanian term țigani, which is synonymous with "Gypsy"). Although the Romanian terms robie and sclavie appear to be synonyms, in terms of legal status, there are significant differences: sclavie was the term corresponding to the legal institution during the Roman era, where slaves were considered goods instead of human beings and the owners had ius vitae necisque over them (right to end the life of the slave); while robie is the feudal institution where the slaves were legally considered human beings and they had reduced legal capacity. The exact origins of slavery in Wallachia are not known. Slavery was a common practice in Eastern Europe at the time, and there is some debate over whether the Romani people came to Wallachia as free people or as slaves. In the Byzantine Empire, they were slaves of the state and it seems the situation was the same in Bulgaria and