The history of legal charters asserting certain rights for particular groups goes back to the Middle Ages. An example is Magna Carta, an English legal charter agreed between the King and his barons in 1215. In the early modern period, there was renewed interest in Magna Carta. English common law judge Sir Edward Coke revived the idea of rights based on citizenship by arguing that Englishmen had historically enjoyed such rights. The Petition of Right 1628, the Declaration of Right, 1689 and the Bill of Rights 1689 established certain rights in statute.