Dispel Magic

Choose one creature, object, or magical effect within range. Any spell of 3rd level or lower on the target ends. For each spell of 2nd level or higher on the target, make an ability check using your spellcasting ability. The DC equals equal to 15 + the spells level difference between your spell's level and the level of the magic effect you are trying to dispel, per each magic effect that meets the condition. On a successful check, the spell ends.

At Higher Levels. When you cast this spell using a spell slot of 2nd level or higher, you automatically end the effects of a spell on the target if the spell's level is equal to or less than the level of the spell slot you used.

Classes: Artificer Revisited, Bard, Cleric, Druid, Paladin, Sorcerer, The Witch, Warlock, Witch, Wizard

Subclasses: Arcana Cleric, Arcane Trickster Rogue, Devotion Paladin, Divine Soul Sorcerer, Eldritch Knight Fighter, Trickery Cleric

Subclasses (legacy): Favored Soul v2 (UA) Sorcerer, Favored Soul v3 (UA) Sorcerer

Source: PHB, page 234