When Angelina Jolie announced to the press her divorce from Brad Pitt, Pitt felt extremely betrayed and blindsided. This is because before Jolie’s announcement, he threatened his wife six times that he would publicly announce the dissolution of their marriage — something that Jolie had always feared because she did not want to go public with their split.

According to filmmaker Ian Halperin, Pitt and Jolie had long wanted to end their marriage. In fact, they wanted to split long before Jolie’s announcement that she was divorcing Pitt. The couple had reportedly been estranged for almost a year before that point, but they had to keep it from the public because it was Jolie’s greatest fear to come under fire yet again.

“The bottom line is that they both wanted out of this relationship for a long time,” Halperin said. “Angelina was never going to go away quietly, but the decision to take this public may well be the biggest mistake she ever made,” he added.

It turned out that both Pitt and Jolie already agreed to dissolve their marriage in 2015 and that the split rumors swirling around at that time were all true. However, the couple reportedly chose not to go public because of their movie “By The Sea.” Halperin revealed that Pitt and Jolie had a hard time dealing with their marital woes behind the cameras while acting as a volatile married couple onscreen.

At the time of their film, Jolie and Pitt’s marriage was already falling on its last legs and the couple was already getting used to regular fights. In between those confrontations, Pitt allegedly threatened Jolie six times that he would go public with their split. Little did he know that Jolie was up for something.

“In the two months leading up to her decision to file for divorce, he had threatened to publicly dissolve the relationship six times,” said Halperin. “She was afraid and she wanted to beat him to the public,” he added.

After a few months, it was Jolie herself who publicly announced their split and put Pitt in a bad light. Not only did she announce that she was filing for divorce, but she also dropped major bombshells and accused Pitt of child abuse.

Angelina Jolie and Brad Pitt Angelina Jolie and Brad Pitt attend Audi at the opening night gala premiere of 'By the Sea' during AFI FEST 2015 presented by Audi at TCL Chinese 6 Theatres in Hollywood, California, Nov. 5, 2015. Getty Images/Jonathan Leibson