Manufacturing giant 3M on Tuesday said it will pay $6 billion to resolve legal claims over its Combat Arms Earplug products, which some military veterans claimed left them with hearing loss and tinnitus.

3M said in a statement that the settlement, which resolves claims against 3M and Aearo Technologies, “is not an admission of liability.” It added that the products are “safe and effective when used properly” and that it would defend itself in court if the terms of the settlement aren’t fulfilled.