Limited Wish Spell
D&D Limited Wish Spell Description: A limited wish lets you create nearly any type of effect. For example, a limited wish can do any of the following things.
Duplicate any sorcerer/wizard spell of 6th level or lower, provided the spell is not of a school prohibited to you.
Duplicate any other spell of 5th level or lower, provided the spell is not of a school prohibited to you.
Duplicate any sorcerer/wizard spell of 5th level or lower, even if it's of a prohibited school.
Duplicate any other spell of 4th level or lower, even if it's of a prohibited school.
Undo the harmful effects of many spells, such as geas/quest or insanity.
Produce any other effect whose power level is in line with the above effects, such as a single creature automatically hitting on its next attack or taking a -7 penalty on its next saving throw.
More on the Dungeons & Dragons Limited Wish Spell