Within the Welryn Undercity, you found an unusual device that was sustaining the existence of an undead person. Upon speaking with him, he requested that you aid in ending his un-life by destroying several soul vessels that were the key to dispelling the wards upon the device. In exchange, he offered to give you his phylactery.
Once you returned to him, he ignited the remaining soul magic in the machine and destroyed himself.