If I recall correctly the Bill of Rights were originally proposed by the State s to protect the states from the new Federal Government. During the ratification process the Bill of Rights were changed to protect the people from the new State Government and to protect the states from the new Federal Government.
The intent was to keep the people armed, on par with and equal to the armarment level of the new governments, so that the people could revolt if they so determined.