Sophia was a member of the House of Wittelsbach and was the youngest child and only daughter of John II, Duke of Bavaria, and his spouse Catherine of Gorizia.
Wenceslaus celebrated the marriage by making a number of excellent manuscripts such as the Wenceslas Bible.
It was said that he died refusing to reveal her confession, but he was also at that time involved in a conflict with Jan of Jenštejn.
Queen Sophia was initially a follower of Jan Hus and listened to his sermons, and like Wenceslas, she gave him her protection.
As a queen dowager, Sophia sought refuge with her brother-in-law, Sigismund of Hungary, whose claims on the throne of Bohemia she supported.
In October 1419, the leading Bohemians signed a treaty with queen dowager Sophia with a promise to protect law and order.
Sigismund remarked that the Queen dowager of Bohemia would surely marry again – possibly to Wladyslaw II of Poland.