New York’s attorney general has filed a motion to dismiss a viewpoint-based discrimination suit by the National Rifle Association, arguing that the gun advocacy organization’s First Amendment rights have remained uninhibited amid state efforts to regulate insurers selling products to its members.

In a filing late Monday, the office of Attorney General Barbara Underwood said the decision by the Department of Financial Services to investigate a liability and legal services insurance program for gun owners that the NRA promoted was part of “the regular course of business.” The investigation led to the shutdown of a number of programs, that included millions in fines and a settlement with the insurers and their agents. The NRA is being investigated for its role in marketing the policies.