who
Who best fits in the blank. The best way to choose between who and whom is to replace it with he or him. In this sentence it makes sense to say "He wanted to transform.." It does not make sense to say "Him wanted to transform". Since he is the best fit, who is the best relative pronoun.