A New York federal judge on Friday dismissed a long-running legal malpractice suit brought by Carl Icahn-controlled CVR Energy against Wachtell, Lipton, Rosen & Katz.

“We will definitely appeal the court’s ruling,” said CVR’s attorney, Herbert Beigel. “We’re going to do everything we can to preserve our claims because we disagree with the court’s decision.”