Specify a creature, an object, or a magic effect within the cast range, and terminate all 3rd-level or lower-level spells that affect the target. Every 4th level or higher level spell that affects the target requires an attribute check based on your key cast attribute. Its DC is equal to 10 + the level of the target spell. The target spell ends when the check succeeds.

Dispel Magic 5e

Level: 3rd

Classes: Paladin, Druid, Sorcerer, Warlock, Cleric, Wizard, Bard

Casting Time: 1 Action

Range: 120 feet

Components: V, S

Duration: Instantaneous

When using a spell slot of 4th level or higher to cast this spell, you directly terminate the spell’s effect on the target that is less than or equal to the spell casting level.