A New York state court judge has refused to dismiss lawsuits against several opioid manufacturers in some of the first substantive rulings to come out of the barrage of cases brought by governments over the prescription painkillers.

In a pair of rulings on Monday, Suffolk County Supreme Court Judge Jerry Garguilo rejected motions to dismiss brought by Purdue Pharma, Endo Health Solutions, Teva Pharmaceuticals, Allergan, Johnson & Johnson’s Janssen Pharmaceuticals Inc. and Insys Therapeutics Inc. He allowed cases brought by New York counties to go forward alleging violations of New York’s consumer fraud and false advertising laws, as well as public nuisance, negligence, fraud and other claims.