The document would be The English Bill of Rights.
The Bill of Rights 1689 allowed citizens of England to
"have Arms for their Defence suitable to their Conditions and as allowed by Law" in order to stand up if the government became tyranny. (Second amendment of united states on the other hand, created in 1971)