Greater Restoration

Level: 5

Casting Time: 1 action

Range: Touch

Duration: Instantaneous

You imbue a creature you touch with positive energy to undo a debilitating effect. You can reduce the target's exhaustion level by one, or end one of the following effects on the target:
 * One effect that charmed or petrified the target
 * One curse, including the target's attunement to a cursed magic item
 * Any reduction to one of the target's ability scores
 * One effect reducing the target's hit point maximum

Source: PHB, page 246. Available in the SRD.