He is a spirit brought back and twisted into a Doppelganger of Ganondorf, after Link beat him he was put inbewteen dimensions (the evil jar) until Ganondorf needed him in WW or Ganondorf may have made an entirely different one since they are very different in form and attacks..