A federal judge has ruled against a Rite Aid shareholder in a fraudulent misrepresentation lawsuit filed in connection with the aborted merger of the Walgreens and Rite Aid pharmacy chains.

U.S. District Judge John E. Jones III of the Middle District of Pennsylvania granted Walgreens’ motion for judgment on the pleadings on plaintiff Jerry Herring’s lawsuit against the drug store company.