I've used several different methods for this. First off, I don't NPC anyone's character. Won't do it because a DM has enough to worry with on his/her own.
I had a couple of players used as an insurance policy that the PCs would leave the evil doer alone. It was that or a TPK.
Another one...