Christian IV signed the Treaty of Lubeck to end Denmark's involvement in this war, and the Battle of White Mountain ended its Bohemian Phase, which began with a Defenestration of Prague.  
The buildup to this conflict saw one side occupied with the Uskok War, and the Smolensk War is sometimes considered an episode in it.  Gabor Bethlen took advantage of this conflict to carve out some land, and it also involved Maximilian I of Bavaria.  Christian IV signed the Treaty of Lubeck to end Denmark's involvement in this war, and the Battle of White Mountain ended its Bohemian Phase, which began with a Defenestration of Prague.  Commanders in this war included the Count of Tilly, Wallenstein, and Gustavus Adolphus.  For 10 points, name this war between Catholics and Protestants in the Holy Roman Empire that ended with the Peace of Westphalia.
The buildup to this conflict saw one side occupied with the Uskok War, and the Smolensk War is sometimes considered an episode in it.  
Thirty Years' War