Both ideas would work,maybe you could even combine them,like maybe he's from a group that creates androids based from a man who was an excellent soldier,but didn't follow what the group wanted,so they instead killed him and used him as their base for their soldiers. Maybe this one was given the man's memories and rebelled from the group. Or maybe I just put too much thought into this.