Credit: Jordan Strauss/FilmMagic

Don't mess with Brangelina.

Brad Pitt and Angelina Jolie accepted undisclosed damages from the News of the World at a hearing in a London court on Thursday, has confirmed. An insider tells Us: "The money will be donated to the Jolie-Pitt foundation. After tax and fees, every penny will be donated."

Back in January, the British tabloid reported that the couple of five years were planning to separate, divvy up their $320 million fortune and work out custody arrangements for their six kids. Pitt, 46, and Jolie, 35, quickly sued, claiming the paper had made false and intrusive allegations.

"When the News of the World failed to publicly retract the allegations and apologize for them -- thereby leaving their readers in the dark as to the true position — the couple felt they had no alternative than to sue," their attorney, Keith Schilling, told Us in a statement.

"Today's victory marks the end of the litigation brought by Brad and Angelina."

Currently in Los Angeles -- Jolie is promoting her film Salt, while Pitt is filming Moneyball -- the couple did not attend Thursday's hearing.