The oldest settlement located near today 's Zagreb was a Roman town of Andautonia, now Šćitarjevo, which existed between the 1st and the 5th century AD. The first recorded appearance of the name Zagreb is dated to 1094, at which time the city existed as two different city centres: the smaller, eastern Kaptol, inhabited mainly by clergy and housing Zagreb Cathedral, and the larger, western Gradec, inhabited mainly by craftsmen and merchants. Gradec and Kaptol were united in 1851 by ban Josip Jelačić, who was credited for this, with the naming the main city square, Ban Jelačić 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 its capital.
when did zagreb become the capital of croatia
After Croatia declared independence from Yugoslavia