Lawyers for the National Rifle Association are locked in a dispute with the New York Attorney General’s Office, with the gun-rights advocacy group aiming to block the government’s subpoena for records from the advertising agency Ackerman McQueen, where the NRA had a contract until recently.

The NRA’s contract with the ad agency included a nondisclosure agreement. Assistant New York Attorney General Monica Connell argued the NDA is being used to chill cooperation by Ackerman and potentially other organizations with the state’s investigation into the NRA.