Danish nationality law is ruled by the Constitutional act of Denmark (of 1953) and the Consolidated Act of Danish Nationality (of 2003, with amendment in 2004).
Hemming Gadh (c. 1450 – 16 December 1520) was a Swedish bishop and politician.
 He was a staunch ally of Sten Sture and a fierce opponent of Denmark and the Kalmar Union.
Hemming I (died 812) was a king in Denmark from 810 until his death.
 He was the successor of King Gudfred, his uncle.
The Monarchy of Denmark, colloquially known as the Danish Monarchy, is a constitutional institution and a historic office of the Kingdom of Denmark.
 The Kingdom includes not only Denmark, but the autonomous regions of Greenland and the Faroe Islands.
 The Kingdom of Denmark were already consolidated in the late 8th century, whose rulers are consistently referred to in Frankish sources as Kings (Reges).
 Under the rule of King Gudfred in 804 the Kingdom may have included all the major provinces of medieval Denmark
Gudfred was a Danish king during the Viking era who ruled from 804 or earlier until 810.
 Gudfred was the younger son of King Sigfred.
 Alternate spellings include "Gudfred", "Göttrick" (German), "Gøtrik" (Danish), "Gudrød" (Danish), and "Godofredus" (Latin).
Hemming Halfdansson (died 837) was "of the Danish race, a most Christian leader".
 He was probably a son of Halfdan, a leading Dane who became a vassal of Charlemagne in 807.
 He was probably related to the Danish royal family, as "Hemming" was one of their favoured names.
 The onomastic evidence includes the Danish king Hemming I (reigned 810–12) and then a Hemming II, who was recalled to Denmark from Francia by his brothers Harald Klak and Reginfrid after Hemming I's death.
 This Hemming was probably the same person as Hemming Halfdansson.
 He probably soon returned to Francia, since there is no evidence of him in Danish politics after he and his brothers were driven out by the sons of Godfrid in 813.
Reginfrid (or Ragnfrid) (died 814) was a co-King of Denmark from 812, when Hemming I died, to 813, when he and his brothers were ousted by the sons of a previous king, Gudfred.
 He was probably a son of Halfdan, a Danish leader who became a vassal of Charlemagne in 807, and brother of Anulo (died 812), Hemming (died 837), and Harald Klak (died "c".
 852).
 He was probably also related to the Danish king he succeeded.
Magnus Jákupsson (born 8 September 1994) is a professional swimmer who swam for the Faroe Islands until 2012 and for Denmark since 2013.
 He is also swimming for Farum Svømmeklub since March 2015.
 Earlier he swam for the Danish clubs SIGMA Nordsjælland and Vestegnens Aqua Team (VAT) and for the Faroese club Havnar Svimjifelag.
 Until 2012 he held several Faroese records, he holds the second most Faroese men's swimming records, after Pál Joensen.
 His Faroese records are in backstroke, individual medley and butterfly.
 He moved to Denmark in 2011, and the following year he changed his swimming nationality to Danish.
 After that he can only set Danish records, not Faroese, and he can only represent Denmark in swimming competitions.
 Until he changed swimming nationality he was the record holder of six individual Faroese records on short course and eight individual Faroese records on long course.
The Treaty of Heiligen was signed in 811 between the Danish King Hemming and Charlemagne.
 Based on the terms of the accord, the southern boundary of Denmark was established at the Eider River.
 Moreover, the treaty confirmed the peace established by both signatories in 810.
Until January 1, 2007, Fredensborg-Humlebæk Kommune was a municipality (Danish, "kommune") on the east coast of the island of Zealand ("Sjælland") in eastern Denmark.
 The municipality covered an area of 72 km², and had a total population of 20,024 (2005).
 Its last mayor was John Hemming, a member of the Conservative People's Party (Det Konservative Folkeparti) political party.
 The site of its municipal council was in Fredensborg.
 The municipality was a conglomerate of several small towns, the two major ones being Fredensborg and Humlebæk.

Question: What nationality were both Hemming of Denmark and Gudfred?
Answer: Danish