Zagreb (Croatian pronunciation: [zǎːɡreb]; names in other languages) is the capital and the largest city of the Republic of Croatia. It is located in the northwest of the country, along the Sava river, at the southern slopes of the Medvednica mountain. Zagreb lies at an elevation of approximately 122 m (400 ft) above sea level. In the last official census of 2011 the population of the City of Zagreb was 792,875. The wider Zagreb metropolitan area includes the City of Zagreb and the separate Zagreb County bringing the total metropolitan area population up to 1,237,887. It is the biggest metropolitan area in Croatia, and the only one with a population of over one million.
Zagreb is a city with a rich history dating from the Roman times to the present day. The oldest settlement located in the vicinity of the city was the Roman Andautonia, in today's Ščitarjevo. The name "Zagreb" is mentioned for the first time in 1094 at the founding of the Zagreb diocese of Kaptol, and Zagreb became a free royal town in 1242, whereas the origin of the name still remains a mystery in spite of several theories. In 1851 Zagreb had its first mayor, Janko Kamauf, and in 1945 it was made the capital of Croatia when the demographic boom and the urban sprawl made the city as it is known today.