William IV of Bavaria was born in Munich on November 13, 1493, to Albert IV and Kunigunde of Austria, a daughter of Emperor Frederick III. He became Duke of Bavaria in 1508. Although his father had established the succession of the eldest son, William’s younger brother Louis resisted a religious career and, in 1516, secured a share in the government. The brothers ruled together, with Louis administering the districts of Landshut and Straubing.
William first showed sympathy for the Reformation, but opposed its spread in Bavaria. In 1522 he prohibited the circulation of Martin Luther’s works, and after reaching an agreement with Pope Clement VII in 1524, he became a leading figure in the German Counter-Reformation. He and Louis put down the South German Peasants’ Revolt in 1525 alongside the Prince-Archbishop of Salzburg. Their conflict with the Habsburgs ended with an agreement with Ferdinand I in Linz in 1534. William later supported Charles V against the Schmalkaldic League, though he did not secure the Palatine electoral dignity. His chancellor, Leonhard von Eck, served for 35 years.
William’s influence extended to law, music, literature, and the arts. In 1516 he issued a Bavarian brewing regulation limiting beer ingredients to barley, hops, and water; it remained binding until 1986. The appointment of composer Ludwig Senfl in 1523 marked the rise of the Bavarian State Orchestra. William also commissioned the Eck Bible, a Catholic translation published in 1537, and collected works of art, including Albrecht Altdorfer’s Battle of Issus. His building projects helped shape the Munich Residenz, while he and his son Albert commissioned the transformation of Dachau Palace into a Renaissance-style residence.
William married Jakobaea of Baden in 1522. Their children included Albert V, who succeeded his father, as well as Theodor, Wilhelm, and Mechthild. William died in Munich on March 7, 1550, and was buried in the Frauenkirche.