Baldoni and his former "It Ends With Us" co-star Blake Lively have been embroiled in a yearslong legal battle.

Lively had asked for $8 million in attorney’s fees and costs, but a federal judge said the “number of hours for which Lively seeks reimbursement is unreasonable.”

A judge in New York ruled Lively will get just five percent of the amount she was seeking for defending herself against Baldoni's $400 million defamation lawsuit.