Koper began as a settlement built on an island in the southeastern part of the Gulf of Koper in the northern Adriatic. Called
Insula Caprea (Goat Island) or
Capro by Roman settlers, it developed into the city of Aegida, The history of the city of Koper and the origin of its original name dates back to antiquity: Aegida is a Greek-Etruscan name reminiscent of the aegis (shield) of the Greek goddess of wisdom and knowledge Athena. The ancient Roman name of the town, Capris, is said to derive from the fact that goats were raised on an island where there was no settlement at first.In 568, Roman citizens of nearby Tergeste (modern
Trieste) fled to Aegida due to an invasion of the
Lombards. In honour of the
Byzantine Emperor Justinian II, the town was renamed
Justinopolis. and
Haile Selassie in Koper in 1959] In 1420, the Patriarch of Aquileia ceded his remaining possessions in
Istria to the Republic, consolidating Venetian power in Koper. Koper grew to become the capital of Venetian
Istria and was renamed
Caput Histriae 'head of Istria' (from which stems its modern Italian name,
Capodistria). The 16th century saw the population of Koper fall drastically, from its high of between 10,000 and 12,000 inhabitants, due to repeated plague epidemics. When Trieste became a free port in 1719, Koper lost its monopoly on trade, and its importance diminished further. According to the 1900 census, 7,205 Italian, 391 Slovenian, 167 Croatian, and 67 German inhabitants lived in Koper. Assigned to Italy from Austria-Hungary after World War I, at the end of World War II it was part of the Zone B of the
Free Territory of Trieste, controlled by
Yugoslavia. Most of the Italian inhabitants left the city by 1954, when the
Free Territory of Trieste formally ceased to exist and Zone B became part of
Socialist Federal Republic of Yugoslavia. In 1977, the
Roman Catholic Diocese of Koper was separated from the
Diocese of Trieste. With
Slovenian independence in 1991, Koper became the only commercial port in
Slovenia. The
University of Primorska is based in the city. The influence of the Port of Koper on tourism was one of the factors in
Ankaran deciding to leave the municipality in a
referendum in 2011 to establish its own municipality. ==Architecture==