Theinhko (Burmese: သိန်းခို ; also Theinkho, ] ; c. 919–956) was king of Pagan dynasty of Burma (Myanmar) from c. 934 to c. 956.
 According to the Burmese chronicles, Theinhko was a son of the previous king, Sale Ngahkwe.
 Theinhko was killed by a farmer, Nyaung-u Sawrahan, from whose farm he took a cucumber.
 The king had been on a hunting trip and separated from his retinue, exhausted and thirsty.
 The farmer was accepted as king by the queen to prevent unrest in the kingdom and became known as the "Cucumber King", "farmer king" or "Taungthugyi Min".
Rogallach mac Uatach (died 649) was a king of Connacht from the Uí Briúin branch of the Connachta.
 He was the son of Uatu mac Áedo (d. 600), a previous king.
 He acquired the throne of Connacht after defeating the previous king Colmán mac Cobthaig (d. 622) of the Ui Fiachrach Aidhne, who was slain at the Battle of Cennbag (Cambo, County Roscommon) in 622.
 Professor Francis Byrne believes he is the first reasonable representative of this branch to be said to have held the throne of Connacht
Tadhg na Mainistreach Mac Carthaigh Mór reigned as King of Desmond from 1390/2 to his death in 1428.
 He was the son of the previous king Domhnall Óg Mac Carthaigh Mór (r. 1359–1390/2).
 According to the "Annals of Inisfallen" Tadhg Mac Carthaigh had the reputation as the greatest wine-drinker in Ireland when he died, but was still "a son worthy of his father."
 He was married to one Sebán, a daughter of "Garret the earl,"; this is probably a reference to Joanne, daughter of Maurice FitzGerald, 4th Earl of Kildare, who married into the MacCarthy dynasty.
Boedil (Bodil) Turgotsdotter (died 1103) was a medieval Danish queen, queen consort of King Eric I of Denmark.
(also known as Galicieulv (Galiciwolf) c. 1010), aka Jarl Galizur-Ulfric was a Danish jarl, a Viking chieftain who became famous for his raids, looting and pillaging the lands of Galicia in the early eleventh century, perhaps in 1028 or 1048, during the reign of Bermudo III and Ferdinand I of Leon.
 According to Saxo Grammaticus and the Knýtlinga saga, Galicieulv was grandfather of Boedil Thurgotsdatter, the wife of Eric I of Denmark.
Eric I (  1060 – 10 July 1103), also known as Eric the Good, (Danish: Erik Ejegod ), was King of Denmark following his brother Olaf I Hunger in 1095.
 He was a son of Sweyn II.
 His mother's identity is unknown.
 He married Boedil Thurgotsdatter.
Solomon ( ; "Šlomo"; Syriac: ܫܠܝܡܘܢ‎ "Shlemun"; Arabic: سُليمان‎ ‎ "Sulaymān ", also colloquially: "Silimān " or "Slemān "; Greek: Σολομών "Solomōn"; Latin: "Salomon" ), also called Jedidiah (Hebrew ), was, according to the Hebrew Bible (Book of Kings: 1 Kings 1–11; Book of Chronicles: 1 Chronicles 28–29, 2 Chronicles 1–9), Quran, hadith and "Hidden Words", a fabulously wealthy and wise king of Israel who succeeded his father, King David, the previous king of Israel.
 The conventional dates of Solomon's reign are circa 970 to 931 BCE, normally given in alignment with the dates of David's reign.
 He is described as the third king of the United Monarchy, which would break apart into the northern Kingdom of Israel and the southern Kingdom of Judah shortly after his death.
 Following the split, his patrilineal descendants ruled over Judah alone.
Lethlobar mac Loingsig (died 873) was a Dál nAraidi king of Ulaid, in medieval Ireland.
 He was the grandson of Tommaltach mac Indrechtaig, a previous king of Ulaid.
 He belonged to the main ruling dynasty of the Dál nAraidi known as the Uí Chóelbad based in Magh Line.
 He ruled as king of the Dál nAraidi from 824/849-873 and as leth-ri (co-king) of Ulaid from 857-871 and sole king of Ulaid from 871-873.
Cathussach mac Ailello (died 749) was a Dál nAraidi king of Ulaid, in medieval Ireland.
 He was the son of Ailill mac Dúngaile Eilni (died 690), a previous king of Dál nAraidi and nephew of Cú Chuarán mac Dúngail Eilni (died 708), a previous king of Ulaid.
 He ruled from 735-749.
 He belonged to a branch of this family that settled in Eilne, a strip of territory located between the Bann and Bush rivers in modern County Antrim, Northern Ireland.
Sujinphaa (fl.
 1675–1677) or Sur Singha was a Namrupiya king of the Ahom kingdom.
 Atan Burhagohain installed him on the throne after removing Debera Borbarua from power and deposing the previous king, Gobar Roja.
 Sujinphaa began his reign well with proper advice and support from Atan Burhagohain and other nobles.
 But soon, acting on the advice of his wife and other advisors, the king began to defy the authority of the Burhagohain, which resulted in a head-on collision between both sides.
 The king successfully defended the first onslaught of Atan Burhagohain's forces, but fell to the second, which was reinforced with troops from Guwahati.
 Sujinphaa was deposed and blinded.
 Some sources state that he committed suicide, while some sources maintain that he was murdered by Bhatdhara Phukan, the brother of Laluksola Borphukan.

Question: Who was the previous king to the king that married Boedil Thurgotsdatter?
Answer: Olaf I Hunger