The Magna Carta established basic rights and legal protections for citizens of England that influenced laws worldwide. It limited the king's power and established that the monarch must obey the law. For example, it prohibited imprisonment without cause and entitled people to due process of law and habeas corpus. The document was signed in 1215 by King John after rebellious barons forced him to agree to its terms.