The necromancer is a priest focused on death magic to control her undead minions.

Death Magic

A necromancer must choose the Death dogma (and its undeath subdogma) as her primary dogma.

If the priest worships a deity, that deity must be one that grants the Death dogma. A necromancer also loses one of her secondary dogmas.

Death-Touched (Ex)

At 2nd level, a necromancer gains Necromantic Affinity as a bonus feat, even if she does not have the normal prerequisites. In addition, she is healed by channel negative energy as if she was an undead creature.

Master Necromancer (Ex)

All necromancers gain Command Undead as a bonus feat at level 1.

At level 6, a necromancer adds half of her Wisdom bonus (minimum 1, rounded down) to her effective priest level to determine how many hit dice of undead she controls.

Necromantic Healer (Su)

At 8th level, the necromancer's spells, spell-like abilities, and supernatural abilities used to heal undead are treated as though they are empowered.