 Otto was born as Prince Otto Friedrich Ludwig of Bavaria at Schloss Mirabell in Salzburg ( when it belonged for a short time to the Kingdom of Bavaria ) , as second son of Crown Prince Ludwig I of Bavaria and Therese of Saxe @-@ Hildburghausen . His father served there as Bavarian governor @-@ general . Through his ancestor the Bavarian Duke John II , Otto was a descendant of the Greek imperial dynasties of Komnenos and Laskaris . 
