How did Charlemagne get his power?

Can you answer this question?