An alliance formed between Emperor Leopold and some German princes in 1686 to resist Louis XIV’s advance into the Rhineland. The Holy Roman Emperor, the Dutch, Spain, and Sweden joined and a Grand Alliance was established when the French invaded the Palatinate.