Original: They meet King Mickey, who reveals that the "Ansem" Sora defeated was actually the Heartless of Xehanort, a student of the real Ansem the Wise.
Simplified: Ansem, the main enemy from the first game, was Xehanort's Heartless.