An appeals court Tuesday threw out the last state claims against Richard A. Grasso, the former New York Stock Exchange chairman, clearing the way for Grasso to keep his hotly contested $187.5 million compensation package.

“We have reviewed the Court’s opinion and determined that an appeal would not be warranted,” Alex Detrick, press secretary for New York Attorney General Andrew M. Cuomo, said in an e-mailed statement Tuesday. “Thus, for all intents and purposes, the Grasso case is over.”