 Otto II succeeded his father Louis I as Bavarian duke and as Count palatine in 1231.In the conflict between the Hohenstaufen emperor Frederick II and the Roman Curia, he initially sided with the pope, but became a supporter of Frederick in 1241.Otto II had initially betrothed Elisabeth to Duke Frederick II of Austria, however, the new political alliance would lead to the marriage of the elder daughter of the Wittelsbach and the elder son of the Hohenstaufen, Conrad IV.