You can't get Ancient Power. You can only teach it to your Pokemon or have a Pokemon from breeding learn it or teach it by a Move Tutor.
Didn't find the answer you were looking for?