Transylvania the Romanian population of Transylvania gathered in Alba Iulia on 1 December 1918 to proclaim the union of Transylvania with the Kingdom of Romania. In Transylvania, there are many medieval smaller towns such as Sighișoara, Mediaș, Sebeș, and Bistrița. Official censuses with information on Transylvania's population have been conducted since the 18th century. On May 1, 1784 the Emperor Joseph II called for the first official census of the Habsburg Empire, including Transylvania. The data was published in 1787, and this census showed only the overall population (1,440,986 inhabitants). , a 19th-century Hungarian statistician, estimated in 1842 that in the
Transylvania withdrew in 271 AD, it was overrun by a succession of various tribes, bringing it under the control of the Carpi, Visigoths, Huns, Gepids, Avars and Slavs. From 9th to 11th century Bulgarians ruled Transylvania. It is a subject of dispute whether elements of the mixed Daco–Roman population survived in Transylvania through the Post-classical Era (becoming the ancestors of modern Romanians) or the first Vlachs/Romanians appeared in the area in the 13th century after a northward migration from the Balkan Peninsula. There is an ongoing scholarly debate over the ethnicity of Transylvania's population before the Hungarian conquest (see Origin of