|conventional_long_name=Kingdom of Denmark
|image_flag=Flag of Denmark.svg
|image_coat=National Coat of arms of Denmark.svg
|national_motto = none(Royal motto: Guds hjælp, Folkets kærlighed, Danmarks styrke The Faroe Islands are defined to be a community of people within the kingdom, and the Greenlandic people are defined as a separate people with the right to self-determination.
Denmark's history has particularly been influenced by its geographical location between the North and Baltic seas. This meant that it was between Sweden and Germany and thus at the center of the mutual struggle for control of the Baltic Sea; before the digging of the Kiel Canal, water passage to the Baltic Sea was possible only through the three channels known as the "Danish straits". Denmark was long in disputes with Sweden over control of Skånelandene (Scanian War) and Norway, and in disputes with the Hanseatic League over the duchies of Schleswig (a Danish fief) and Holstein (a German fief). Eventually Denmark lost the conflicts and ended up ceding first Skånelandene to Sweden and later Schleswig-Holstein to the German Empire. Denmark obtained Greenland and the Faroe Islands in 1814 after the dissolution of a personal union with Norway, although the Danish monarchy, which had ruled over both Norway and Denmark, had been in possession of the colonies since the fourteenth century. The Faroe Islands and Greenland both became integral parts of the Danish Realm in the twentieth century and were granted home rule in 1948 and 1979 respectively.
Denmark became a member of the European Union in 1973 but remains outside the Eurozone, while both Greenland and the Faroe Islands have exercised their right to remain outside the EU entirely. A founding member of the United Nations, NATO and the OECD, Denmark is also a member of the Organization for Security and Co-operation in Europe (OSCE). With a mixed market economy and a large welfare state, Denmark ranks as having the world's highest level of income equality, and has the world's seventh highest per capita income. It has frequently ranked as the happiest and least corrupt country in the world. In 2011, Denmark was listed 16th on the Human Development Index (8th on the inequality-adjusted HDI), 3rd on the Democracy Index and 2nd on the Corruption Perceptions Index. The national language, Danish, is closely related to Swedish and Norwegian, with which it shares strong cultural and historical ties. Denmark, along with Sweden and Norway, is part of the cultural region known as "Scandinavia" and is also a member of the Nordic Council.