In NY state, they passed an "assault weapon" ban, as well as a high capacity magazine ban
§ 265.00 Definitions.
"Large capacity ammunition feeding device" means a magazine, belt, drum, feed strip, or similar device, manufactured after September thirteenth, nineteen hundred ninety-four, that has a capacity of, or that can be readily restored or converted to accept, more than ten rounds of ammunition; provided, however, that such term does not include an attached tubular device designed to accept, and capable of operating only with, .22 caliber rimfire ammunition.
§ 265.02 Criminal possession of a weapon in the third degree.
(7) Such person possesses an assault weapon; or
(8) Such person possesses a large capacity ammunition feeding device.
Criminal possession of a weapon in the third degree is a class D
felony.
While the federal law sunset, the state law did not. In NY, in order to have a magazine with a capacity of more than 10 rounds, that magazine must have been made before 09/13/94.