The Ernestine predominance ended in the Schmalkaldic War (1546/7), which pitted the Protestant Schmalkaldic League against the Emperor Charles V. Although itself Lutheran, the Albertine branch rallied to the Emperor's cause.