The California Supreme Court on Wednesday refused to consider Brad Pitt's appeal of a court ruling that disqualified the judge in his custody battle with Angelina Jolie.

The court denied a review of a June appeals court decision that said the private judge hearing the case should be disqualified for failing to sufficiently disclose his business relationships with Pitt's attorneys.

The state Supreme Court’s decision finalizes that ruling. It means the fight over the couple’s five minor children — which was nearing an end — could just be getting started.

LONDON, ENGLAND - FEBRUARY 16: Actors Angelina Jolie and Brad Pitt attend the EE British Academy Film Awards 2014 at The Royal Opera House on February 16, 2014 in London, England. (Photo by Chris Jackson/Getty Images)

Angelina Jolie dropped Brad Pitt's last name. (Photo by Chris Jackson/Getty Images)

SHERIFF INVESTIGATING ALEC BALDWIN SHOOTING INCIDENT SAYS ARMORER'S STATEMENT WAS ‘NOT ACCURATE’

"Ms. Jolie is focused on her family and pleased that her children’s wellbeing will not be guided by unethical behavior," her attorney, Robert Olson, said in an email.

Pitt's attorney had previously argued that Jolie's effort to disqualify the judge was aimed at preventing his tentative custody decision, which was favorable to Pitt, from taking effect.

A statement from a representative for Pitt on Wednesday said the Supreme Court decision "does not change the extraordinary amount of factual evidence which led the trial judge — and the many experts who testified — to reach their clear conclusion about what is in the children’s best interests."

CLICK HERE TO GET THE FOX NEWS APP

Jolie, 46, and Pitt, 57, were among Hollywood’s most prominent couples for 12 years. A former Los Angeles County Superior Court judge, John Ouderkirk, officiated at their 2014 wedding, then was hired to oversee their divorce when Jolie filed to dissolve the marriage in 2016.

He ruled the couple divorced in 2019, but he separated the child custody issues.

Jolie and Pitt have six children: 20-year-old Maddox, 17-year-old Pax, 16-year-old Zahara, 15-year-old Shiloh, 13-year-old Vivienne and 13-year-old Knox. Only the five minors are subject to custody