William followed the traditional Wittelsbach policy of opposition to the Habsburgs until in 1534 he made a treaty at Linz with Ferdinand, the king of Hungary and Bohemia.
Maximilian I found the duchy encumbered with debt and filled with disorder, but ten years of his vigorous rule effected a remarkable change.