Podgorica (formerly Titograd) is the capital and largest city of Montenegro, while Cetinje has the status of the capital. According to the 2011 census, it had 150,977 inhabitants. The wider area of Podgorica covers 10.4% of the territory of Montenegro and about 30% of its population. Podgorica is the main crossroads in Montenegro. Its convenient location is at the mouth of the Ribnica River in Morač in the Zeta-Bjelopavlić plain. The city is close to winter centers on the northern land and summer resorts on the Adriatic Sea. Podgorica is located near the remains of the Roman city of Dokleja. In the Middle Ages, there was a settlement here called Ribnica, and the city was first mentioned under this name in 1326. Podgorica became part of the Principality of Montenegro in 1878. Since 1946, it has been the administrative seat of Montenegro, and during the SFR Yugoslavia, Podgorica was called Titograd.