in Europe (Dark Grey) –
In the 9th century, three medieval Serbian principalities were located on the territory of Montenegro: Duklja, roughly corresponding to the southern half; Travunia, the west; and Rascia, the north. In 1042, archon Stefan Vojislav led a revolt that resulted in the independence of Duklja from the Byzantine Empire and the establishment of the Vojislavljević dynasty. After passing through the control of several regional powers and the Ottoman Empire in the ensuing centuries, it became a part of the Kingdom of Yugoslavia in 1918, which was succeeded by the Federal People's Republic of Yugoslavia in 1945.
After the breakup of Yugoslavia in 1992, the republics of Serbia and Montenegro together established a federation as the Federal Republic of Yugoslavia, although its status as the legal successor to Yugoslavia was opposed by other former republics and denied by the United Nations; in 2003, it renamed itself Serbia and Montenegro. On the basis of an independence referendum held on 21 May 2006, Montenegro declared independence on 3 June of that year. It was officially named Republic of Montenegro until 22 October 2007. Since 1990, the country is governed by the Democratic Party of Socialists of Montenegro.
Classified by the World Bank as an upper middle-income country, Montenegro is a member of the UN, NATO, the World Trade Organization, the Organization for Security and Co-operation in Europe, the Council of Europe and the Central European Free Trade Agreement and a founding member of the Union for the Mediterranean.