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 the Romanians). The Magyars conquered much of Central Europe at the end of the 9th century. According to Gesta Hungarorum, the Vlach voivode Gelou ruled Transylvania before the Hungarians arrived. The Kingdom of Hungary established partial control over Transylvania in 1003, when king Stephen I, according to legend, defeated the prince named "Gyula". Some historians assert Transylvania was settled by Hungarians in several stages between the 10th and 13th centuries, while others claim that it was already settled, since the earliest Hungarian artifacts found in the region are dated to the first half of the 10th century. Between 1003 and