Resurrection, Ultimate (3.5e Spell)
From D&D Wiki
|Components:||S, V, DF|
|Casting time:||5 days|
|Duration:||Special (see below)|
This spell can revive a character that has died of old age or is soul trapped, such as the demilich's Soul Trap ability, at the cost of the caster's life. The revived character is brought to life, and lives for an additional number of years equal to the number of years that would otherwise be remaining in the caster's natural lifespan, after which the character returns to their previous state. The caster cannot be revived by any means. However, any spell that would normally raise or resurrect the caster will cause them to come back as a form of undead appropriate to the caster's level.
Material Component: The caster's life.