There were many ideologies, events and people that influenced the country's most important documents, such as the Declaration of Independence and the Constitution. One of these influences was the Magna Carta. This document is a charter of rights that forms the basis of English law and justice system. The charter was agreed to by King John of England at Runnymede, near Windsor. It is one of the most influential legal documents in the Western world.