Zagreb 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 settlement 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,210,517. It is the only metropolitan area in Croatia with a population of over one million.
Zagreb has a special status in the Republic of Croatia's administrative division and is a consolidated city-county (but separated from Zagreb County), and is administratively subdivided into 17 city districts, most of them being at low elevation along the river Sava valley, whereas northern and northeastern city districts, such as Podsljeme and Sesvete districts are situated in the foothills of the Sljeme mountain, making the city's geographical image rather diverse. The city extends over 30 kilometres east-west and around 20 kilometres north-south, covering an immense area of Prigorje region. Its favourable geographic position in the southwestern part of the Pannonian Basin, which extends to the Alpine, Dinaric, Adriatic and Pannonic regions, provides an excellent connection for traffic between Central Europe and the Adriatic Sea. The transport connections, concentration of industry, scientific and research institutions and industrial tradition underlie its leading economic position in Croatia. Zagreb is the seat of the central government, administrative bodies and almost all government ministries. Zagreb is a global and cosmopolitan city, and one of the leading centres of Central and Southeastern Europe.
The oldest settlement in the urban area of Zagreb was a Roman town of Andautonia, now Scitarjevo, which dates back to the 1st century AD. The first recorded appearance of the name Zagreb is dated to 1094, at which time the city existed as two different city centers: the smaller, eastern Kaptol, inhabited mainly by clergy and housing Zagreb Cathedral, and the larger, western Gradec, inhabited mainly by farmers and merchants. Gradec and Zagreb were united in 1851 by ban Josip Jelacic, who was credited for this, with the naming the main city square, Ban Jelacic Square in his honour. During the period of former Yugoslavia, Zagreb remained an important economic centre of the country, and was the second largest city. After Croatia declared independence from Yugoslavia, Zagreb was proclaimed it's capital.
The name Zagreb appears to have been first recorded in 1134 in a document relating to the establishment of the Zagreb bishopric around 1094, although the origins of the name Zagreb are less clear. The Croatian word "zagrabiti" translates approximately to "to scoop", which forms the basis of some legends. One Croat legend says that a Croat ban (viceroy) was leading his thirsty soldiers across a deserted region. He drove his sabre into the ground in frustration and water poured out, so he ordered his soldiers to dig for water. The idea of digging or unearthing is supported by scientists who suggest that the settlement was established beyond a water-filled hole or graba and that the name derives from this.
According to another old legend, a city ruler was thirsty and ordered a girl named Manda to take water from Lake Mandusevac (nowadays a fountain in Ban Jelacic Square), using the sentence: "Zagrabi, Mando!" which means, Scoop it up, Manda!.
Some sources suggest that the name derives from the term 'za breg' or 'beyond the hill'. The hill may well have been the river bank of the River Sava (the modern Croatian word "breg" or "brijeg", meaning "hill", originally meant "river bank"), which is believed to have previously flowed closer to the city centre. Another possible origin is the term "za grabom", meaning "behind the moat", as the city was heavily fortified since its beginnings.
During Austria-Hungary, Zagreb was more commonly known outside Croatia by its Austrian German exonym "Agram". In today's German though, "Zagreb" prevails.
The history of Zagreb dates as far back as 1094 A.D when the Hungarian King Ladislaus, returning from his campaign against Croatia, founded a diocese. Alongside the bishop's see, the canonical settlement Kaptol developed north of Zagreb Cathedral, as did the fortified settlement Gradec on the neighbouring hill; the border between the two being the Medvešcak stream. Today the latter is Zagreb's Upper Town (Gornji Grad) and is one of the best preserved urban nuclei in Croatia. Both settlements came under Tatar attack in 1242. As a sign of gratitude for offering him a safe haven from the Tatars the Croatian and Hungarian King Bela IV bestowed Gradec with a Golden Bull, which offered its citizens exemption from county rule and autonomy, as well as its own judicial system.
There were numerous connections between the Kaptol diocese and the free sovereign town of Gradec for both economic and political reasons, but they weren't known as an integrated city, even as Zagreb became the political centre and the capital of Croatia and Slavonia. In 1557, the Croatian Parliament, representing both Croatia, Slavonia and Dalmatia, first convened at Gradec. Zagreb was chosen as the seat of the Ban of Croatia in 1621 under ban Nikola Frankopan.
At the invitation of the Croatian Parliament, the Jesuits came to Zagreb and built the first grammar school, the St. Catherine's Church and monastery. In 1669, they founded an academy where philosophy, theology and law were taught, the forerunner of today's University of Zagreb.
During the 17th and 18th centuries, Zagreb was badly devastated by fire and the plague. In 1776, the royal council (government) moved from Varazdin to Zagreb and during the reign of Joseph II Zagreb became the headquarters of the Varazdin and Karlovac general command.
In the 19th century, Zagreb was the centre of the Croatian National Revival and saw the erection of important cultural and historic institutions. In 1850, the town was united under its first mayor - Janko Kamauf.
The first railway line to connect Zagreb with Zidani Most and Sisak was opened in 1862 and in 1863 Zagreb received a gasworks. The Zagreb waterworks was opened in 1878.
After the 1880 Zagreb earthquake, up to the 1914 outbreak of World War I, development flourished and the town received the characteristic layout which it has today. The first horse-drawn tram was used in 1891. The construction of the railway lines enabled the old suburbs to merge gradually into Donji Grad, characterised by a regular block pattern that prevails in Central European cities. This bustling core hosts many imposing buildings, monuments, and parks as well as a multitude of museums, theatres and cinemas. An electric power plant was built in 1907.
Since 1 January 1877, the Gric cannon is fired daily from the Lotrscak Tower on Gric to mark midday.
The first half of the 20th century saw a considerable expansion of Zagreb. Before World War I, the city expanded and neighbourhoods like Stara Pešcenica in the east and Crnomerec in the west were created. After the war, working-class districts such as Trnje emerged between the railway and the Sava, whereas the construction of residential districts on the hills of the southern slopes of Medvednica was completed between the two World Wars.
In the 1920s, the population of Zagreb increased by 70 percent - the largest demographic boom in the history of the town. In 1926, the first radio station in the region began broadcasting out of Zagreb, and in 1947 the Zagreb Fair was opened.
During World War II, Zagreb became the capital of the Independent State of Croatia, which was backed by the Germans and Italians. The city was captured by the partisans at the end of the war.
The area between the railway and the Sava river witnessed a new construction boom after World War II. After the mid-1950s, construction of new residential areas south of the Sava river began, resulting in Novi Zagreb (Croatian for New Zagreb), originally called "Juzni Zagreb" (Southern Zagreb). The city also expanded westward and eastward, incorporating Dubrava, Podsused, Jarun, Blato and other settlements. The cargo railway hub and the international airport Pleso were built south of the Sava river. The largest industrial zone (Zitnjak) in the south-eastern part of the city represents an extension of the industrial zones on the eastern outskirts of the city, between the Sava and the Prigorje region. Zagreb also hosted the Summer Universiade in 1987.
During the 1991-1995 Croatian War of Independence, it was a scene of some sporadic fighting surrounding its JNA army barracks, but escaped major damage. In May 1995, it was targeted by Serb rocket artillery in two Zagreb rocket attacks which killed seven civilians.
An urbanised area connects Zagreb with the surrounding districts of Sesvete, Zaprešic, Samobor, Dugo Selo and Velika Gorica; Sesvete was the first and the closest one to become a part of the agglomeration and is already included in the City of Zagreb for administrative purposes.