Why was possession of a gun a crime?
Short answer: unregistered, no permit.
Long answer: New York has flouted the Second Amendment for a 110 years.
Both parties allowed them to get away with it, because they wanted the same power for themselves.