8th-level conjuration

Casting Time: 1 action
Range: Touch
Components: V, S, M (phylactery worth at least 500 gp)
Duration: Instantaneous

You attempt to rip a creature in possession of another creature or object from its host. The target must make a Charisma saving throw. On a failed save, the creature is forced from the host, takes 9d12 psychic damage, and is stunned until the end of its next turn. It can’t possess a target for 1 minute. On a successful save, the target remains in possession of its host and for the next 24 hours, it is immune this spell when you cast it.