She was Electress of Bavaria when Bavaria and France took on the rest of Europe and lost, forcing her to move. Her Wikipedia article is here.