SRD:Eternal Freedom

The subject becomes permanently immune to the following specific spells, effects, and spell-like abilities: entangle, hold, imprisonment, paralysis, petrification, sleep, slow, stunning, temporal stasis, and web. This is a ritual spell requiring ten other spellcasters, each of whom must contribute an unused 9th-level spell slot to the casting.

XP Cost: 10,000 XP.