sentences:  His hereditary daughter Anna's 1409 marriage to King and Prince-Elector Ruprecht's son Stephan, Count Palatine of Zweibrücken, Duke of Bavaria and Count Palatine of the Rhine, though, set the county on a path leading to its transfer to the Duchy of Palatinate-Zweibrücken, a destiny that was fulfilled in 1444 when Friedrich III died without a male heir, thus ending the dynasty that had also begun for want of a male heir.In the 15th century, vassals were enfeoffed with the castle.Beginning in 1539, though, after modifications by Duchess Elisabeth, it became her widow's seat, and then after further conversions by Elisabeth's daughter-in-law Anna of Hesse, it became her abode.