(CNN) The White House is "looking into" a federal judge's ruling that the Justice Department violated the rights of sex crime victims while Labor Secretary Alex Acosta was a US attorney in Florida in 2008, press secretary Sarah Sanders told reporters Friday.

Sanders called the case "very complicated" and defended prosecutors for making the best deal possible at the time.

"My understanding is it's a very complicated case," Sanders told reporters. "Something we're certainly looking into but that they made the best possible decision and deal they could have gotten at that time but again, that's something we're looking into and we'll keep you posted as we learn more."

When asked whether President Donald Trump had lost confidence in his labor secretary, Sanders said she was "not aware of any changes in that front," and stressed the White House would be looking into the matter.

On Thursday, a federal judge in Florida ruled that the Department of Justice broke the law by failing to confer with victims of Jeffrey Epstein, a well-connected Palm Beach billionaire and alleged serial sex abuser of underage girls, about the 2008 plea deal that garnered him only 13 months in prison and no federal trial.

Read More