The main purpose of the magna carta was to

Aestablish a system of english common law.
Blimit the power of the king of england.
Cprotect the king's power to levy taxes.
Dprovide for the establishment of parliament.