Ego was a rebel on Planet X who introduced himself to the Unbound Doctor. He had a protection against the police which stopped him from being caught when he was at a Suicide Party.
The Doctor removed his protection and Ego was killed. (AUDIO: Planet X)