Plovdiv reached an agreement that the Principality of Bulgaria and Eastern Rumelia had a common government, Parliament, administration, and army. Today 6 September is celebrated as the Unification Day and the Day of Plovdiv. After the unification, Plovdiv remained the second most populous city in Bulgaria after the capital Sofia. The first railway in the city was built in 1874 connecting it with the Ottoman capital, and in 1888, it was linked with Sofia. In 1892 Plovdiv became host of the First Bulgarian Fair with international participation which was succeeded by the International Fair Plovdiv. After the liberation, the first brewery
Plovdiv the Turks and Greeks. Prior to the population exchange, as of 1 January 1885, the city of Plovdiv had a population of 33,442, of which 16,752 were Bulgarians (50%), 7,144 Turks (21%), 5,497 Greeks (16%), 2,168 Jews (6%), 1,061 Armenians (3%), 151 Italians, 112 Germans, 112 Romani people, 80 French people, 61 Russians and 304 people of other nationalities. The vast majority of the inhabitants are Christians, mostly Eastern Orthodox, Catholics, Eastern Catholics, and Protestant trends (Adventists, Baptists and others). There are also some Muslims and Jews. In Plovdiv there are many churches, two mosques and one synagogue (see Plovdiv