FARGO, N.D. (AP) — A federal judge has blocked a new North Dakota law meant to protect farm equipment dealers.

Four major manufacturers of farm implements have filed a lawsuit challenging the law that permits North Dakota implement dealers to sell generic rather than name-brand replacement parts. They say the law is unconstitutional.

The order directs state Attorney General Wayne Stenehjem to refrain from enforcing the measure until the issue can be resolved.

The complaint was filed by the Association of Equipment Manufacturers and manufacturers Agco, CNH, Deere & Company and Kubota. The companies contend the new law interferes with federal right-to-contract and copyright protection claims.

A spokeswoman for Stenehjem’s office says the attorney general does not comment on ongoing lawsuits.