The family divided into two ruling branches in 1485 by Treaty of Leipzig: the Ernestine and Albertine branches. The treaty finally ruined a chance for an emergence of a great power in Central Germany, thus helping Brandenburg-Prussia gain influence within the Empire. The older Ernestine branch played a predominant role during the Protestant Reformation. Many ruling monarchs outside Germany were tied to its cadet branch Saxe-Coburg and Gotha. The Albertine branch, while less prominent, ruled the most of Saxony and played a part in Polish history.