It was British policy not only to allow its colonists to keep five arms but also encourage them to do so. Most colonies passed laws requiring male citizens to keep arms and to serve in the local militia
Supreme Court Case
Presser VS. Lillinois 1886
The supreme court upheld an Lillinois laws that prohibited any group other than the regular organized volunteer militia of the state to drill or parade with arms.
The court unanimously held that the second amendment applied only to acts of the federal government and did not prevent the state from restricting association in a parading organization or regulating or prohibiting or parading with arms.