Now, now, let’s be more specific.
The original gun control laws were promulgated to prevent blacks from having guns to defend themselves from Democrats in the form of the KKK.
There we go. :)
I’m pretty sure that they predate the KKK.
This one for instance predates the founding of the USA (1705, which was 70 yrs before the Revolution):
http://vagenweb.org/hening/vol03-25.htm
XXXV. And also be it enacted, by the authority aforesaid, and it is hereby enacted, That no slave go armed with gun, sword, club, staff, or other weapon, nor go from off the plantation and seat of land where such slave shall be appointed to live, without a certificate of leave in writing, for so doing, from his or her master, mistress, or overseer: And if any slave shall be found offending herein, it shall be lawful for any person or persons to apprehend and deliver such slave to the next constable or head-borough, who is hereby enjoined and required, without further order or warrant, to give such slave twenty lashes on his or her bare back, well laid on, and so send him or her home: