Question: When did Otto V, Duke of Bavaria's father become the King of the Romans?

Context paragraphs:
Otto I, Duke of Bavaria: Otto I (1117 – 11 July 1183), called the Redhead (German: "der Rotkopf" ), was Duke of Bavaria from 1180 until his death.  He was also called Otto VI as Count Palatine of Bavaria from 1156 to 1180.  He was the first Bavarian ruler from the House of Wittelsbach, a dynasty which reigned until the abdication of King Ludwig III of Bavaria in the German Revolution of 1918.

Gerold, Prefect of Bavaria: Gerold (died 799) was an Alamannian nobleman who served the Frankish King, Charlemagne, as Margrave of the Avarian March and Prefect of Bavaria in what is now South-Eastern Germany.  Gerold played a significant role in the integration of Bavaria into the Frankish Kingdom during Carolingian expansion in the late 8th, and early 9th centuries.  Gerold both aided the continuity of Agilofing rule of Bavaria, as well as took steps to integrate Bavarians into the wider scope of the Frankish Kingdom.  Gerold was related both to the Agilofing family, the ruling class of Bavaria, as well as the Carolingian family.  The Agilofings had ruled Bavaria since Duke Garibald I in 548.  Gerold was born into the Agilofings, and his sister Hildegard was married to Charlemagne in 771. From these familial connections, he was appointed Prefect of Bavaria following the deposition of Duke Tassilo III in 788.  Gerold was heralded as a superb military commander, giving rise to his promotion to Prefect as a defender of the eastern border of the Frankish Kingdom.  In 799, Gerold is said to have fallen in battle against the Avars, shortly after the same Avars killed his ally, Erich, Duke of Friuli, through treachery.

Otto V, Duke of Bavaria: Otto V the Bavarian, Duke of Bavaria (1340/42 – 15 November 1379), was a Duke of Bavaria and Elector of Brandenburg as Otto VII.  Otto was the fourth son of Holy Roman Emperor Louis IV by his second wife Margaret II of Avesnes, Countess of Hainaut and Holland.

Nicholas I, Count of Tecklenburg: Nicholas I of Tecklenburg (also known as Nicholas I of Schwerin; died: 1367) was a son of Gunzelin VI, Count of Schwerin and Richardis, the daughter of Count Otto IV of Tecklenburg.  In 1328, he succeeded his uncle, Count Otto V of Tekclenburg, as count of Tecklenburg-Ibbendüren and count of Lingen and Cloppenburg.  He was initially considered an outsider, however, he managed to prove himself capable of the job.

Louis IV, Holy Roman Emperor: Louis IV (German: "Ludwig" ; 1 April 1282 – 11 October 1347), called the Bavarian, of the house of Wittelsbach, was King of the Romans from 1314, King of Italy from 1327, and Holy Roman Emperor from 1328.

Otto V, Margrave of Brandenburg-Salzwedel: Margrave Otto V of Brandenburg-Salzwedel ( 1246 – 1298), nicknamed "Otto the Tall", was a son of Margrave Otto III and co-ruler of Brandenburg with his cousin, Margrave Otto IV.

Ludwig II of Bavaria: Ludwig II (German: "Ludwig Otto Friedrich Wilhelm" ; English: Louis Otto Frederick William ; 25 August 1845 – 13 June 1886) was King of Bavaria from 1864 until his death in 1886.  He is sometimes called the Swan King, Mad King Ludwig or der Märchenkönig (the 'Fairy Tale King').  He also held the titles of Count Palatine of the Rhine, Duke of Bavaria, Duke of Franconia, and Duke in Swabia.

Otto IV, Count of Scheyern: Otto V, Count of Wittelsbach (  1083 – 4 August 1156) also called Otto IV, Count of Scheyern was the second son of

Louis II, Duke of Bavaria: Ludwig I or Louis I of Upper Bavaria (German: "Ludwig II der Strenge, Herzog von Bayern, Pfalzgraf bei Rhein" ) (13 April 1229 – 2 February 1294) was Duke of Upper Bavaria and Count Palatine of the Rhine from 1253.  He is known as Ludwig II or Louis II as Duke of Bavaria, and also as Louis the Strict.  Born in Heidelberg, he was a son of duke Otto II and Agnes of the Palatinate.  She was a daughter of the Welf Henry V, Count Palatine of the Rhine, her grandfathers were Henry XII the Lion and Conrad of Hohenstaufen.

Ernst of Schaumburg: Ernst of Schaumburg (September 24, 1569 – January 17, 1622) was the first Count of Schauenburg and Holstein-Pinneberg to earn the title of Prince in 1619.  However, he died in 1622 without an heir.  Schauenburg-Pinneberg had been a Lutheran region since his grandfather Otto IV of Schaumburg had been won over to Martin Luther's teachings.  After Ernst's death, a Catholic Count, Jobst Hermann, received a portion of Schauenburg but he also died without children, and Otto V, who was a Calvinist, succeeded Ernst.

Supporting paragraphs: Otto V, Duke of Bavaria Louis IV, Holy Roman Emperor
Answer: 1314