New York’s top court Wednesday morning upheld the dismissal of several claims in the attorney general’s high-profile suit to force repayment of allegedly unreasonable compensation granted to former New York Stock Exchange Chairman and CEO Richard A. Grasso.

In a 7-0 decision, the Court of Appeals held that then-Attorney General Eliot Spitzer was acting on authority the state Legislature had not granted the attorney general when he brought common law unjust enrichment claims against Grasso in May 2005. Current Attorney General Andrew M. Cuomo has continued to pursue the case.