Brad Pitt is legally able to spend more time with his and Angelina Jolie's kids following a recent court decision! As Page Six reported on Wednesday, the court has decided to amend the original arrangement so that Pitt will have equal custody of their children, as opposed to only visitation rights.

Pitt said to be "relieved" about custody ruling outcome

Pitt and Jolie divorced in 2016, and their ongoing custody battle has been a messy one. The former couple share seven kids— Maddox, Pax, Zahara, Shiloh, Vivienne, and Knox. Now, Judge John Ouderkirk has determined that Pitt will be granted joint custody. A source told Page Six that there was "a significant change made in the custody agreements," which is said to be the result of "an extremely detailed" judicial ruling.

The insider also shared that Pitt "was just trying to have more time with his kids — and it has been clear that Angie has done everything possible to prevent this." Another source told Entertainment Tonight that the decision is a significant one for Pitt. "All Brad ever wanted was to have joint custody of his children and he is relieved that the court ruled in his favor," the insider explained. Since Maddox is 19 years old, his custody is not determined by this decision.

Brad Pitt and children Pax Jolie-Pitt, Shiloh Jolie-Pitt and Maddox Jolie-Pitt arrive for the U.S. premiere of Universal Pictures "Unbroken".

Jolie seeks to get Pitt's joint custody approval overruled

Pitt being granted equal custody of his and Jolie's kids reverses an earlier decision made by the court following their divorce that allowed for Jolie to be the sole legal guardian. And while the ruling on Wednesday marked a victory for Pitt, Jolie reportedly intends to continue seeking legal action, hoping the appellate court will overrule the judge's decision to split their custody.

As Page Six shares, in court documents that were released on Monday, it was revealed that Jolie's lawyers accused Judge Ouderkirk of "improperly excluding her evidence relevant to the children’s health, safety, and welfare." The actress has also claimed that she has "proof" of Pitt's alleged domestic violence, which is another factor she does not want overlooked.