Anti-gunners arrived when guns arrived. There has always been a push on the part of someone (usually those in power, who wanted to retain power) to keep weapons of all sorts out of the hands of "undesirables."
I was going to say, as far as US history is concerned:
July 4, 1776 (to answer the OPs question)
There have always been people who thought that only some people should be armed. I'm sure, though there seems to be little evidence of it, that there were people who thought more restrictions were needed on firearms from a very early time.