Ganondorf is sealed in stone with the Master Sword in his head. In
OoT he never got a chance to wish for anything, the Triforce split apart. Ganondorf then used the ToP to rule over Hyrule. He wanted to rule Hyrule and for a time did, but was sealed away.