What was the goal of the Magna Carta?

A. To weaken the power of the king
B. To weaken the power of nobles
C. To establish democracy
D. To overthrow the government