 In the Treaty of Landsberg 1349, which divided up Louis's empire, his sons Stephen, William, and Albert were to receive jointly Lower Bavaria and the Netherlands.Four years later the inheritance was divided again in the Treaty of Regensburg 1353; Stephen received the new duchy of Bavaria-Landshut.In 1363 Stephen became also Duke of Upper Bavaria which was then re-united with Bavaria-Landshut.