For 10 points, name this German royal house that, from 1180 to 1918, ruled Bavaria.
This house consolidated control over the Holy Roman Empire at the Battle of Mühldorf; it later issued the Declaration of Rhense, disavowing the need for papal approval of the elected emperor. The first Holy Roman Emperor from this house sheltered Marsilius of Padua and William of Ockham, who constructed a theory of imperial supremacy to spite his enemy, Pope John XXII. A French queen from this house held the "Ball of Burning Men" and attended the signing of the Treaty of Troyes for her insane husband, Charles VI. Joseph II seized on the 1778 death of a member of this house to occupy their territory, only to be forced to withdraw by Frederick the Great in the Treaty of Teschen. Charles XII of Sweden came from a minor branch of this house, which built Neuschwanstein (noy-SHVAHN-styne)  Castle and patronized Richard Wagner under King Ludwig II. For 10 points, name this German royal house that, from 1180 to 1918, ruled Bavaria.
This house consolidated control over the Holy Roman Empire at the Battle of Mühldorf; it later issued the Declaration of Rhense, disavowing the need for papal approval of the elected emperor.
House of  Wittelsbach   ("VITTLES-Bach")