The Magna Carta was written in 1215 with the intent of limiting the powers of the monarchy, directly influenced by King John's absurd taxing.
The document was written followed by a series of failures from the monarchy and was heavily influenced by the church, which had major power and dominance in Europe. One clear influence before the document was the refusal of King John to accept the indication of the Archbishop of Canterbury from the pope, which lead to an interdiction until John accepted, in 1213.
The Magna Carta was then written in 1215 by Stephen, the Pope's Archbishop pf Canterbury, proving the church's influence on the document. Looking closely we can also recognize the impact of the Magna Carta on religious freedom, even though the points behind this concept were not the primary focus of the document.