Louis X
To avoid any future division of Bavaria, Albert decreed the everlasting succession of the firstborn prince in 1506. Nevertheless, his oldest son and successor William IV, Duke of Bavaria had to share his power from 1516 onwards with his younger brother Louis X, Duke of Bavaria. After the death of Louis X in 1545, the edict became effective until the end of Bavarian monarchy in 1918.