Davis Polk & Wardwell did not commit legal malpractice in its handling — ultimately successfully — of a longstanding federal tax case for the AmBase Corp. and is entitled to a fee of more than $1.4 million, the New York Court of Appeals ruled unanimously Thursday.

In a second unanimous ruling involving a legal malpractice claim, the court determined that Shayne, Dachs, Stanisci, Corker & Sauer of Mineola was negligent in the way it represented a traffic accident victim. But the judges ruled the plaintiff was not entitled to some $190,000 in damages he sought from the firm.