Brad Pitt and Angelina Jolie had a pre-nuptial agreement. The 'Maleficent' actress filed for divorce citing irreconcilable differences last week, and it seems there won't be any issues dividing their combined $400 million fortune because things were set out clearly in documents they signed before tying the knot two years ago. Between them, the couple own a total of 12 properties, all of which were bought before they married. Seven houses are Brad's, and two are Angelina's while three others - a New York apartment, a mansion in New Orleans and a vineyard in France - were joint purchases made before they wed, and the pre-nup stipulates how they will be divided, TMZ reports. However, not everything is likely to be so simple with the divorce as Brad has vowed to fight 41-year-old Angelina for custody of their children, Maddox, 15, Pax, 12, Zahara, 11, Shiloh, 10, and twins Knox and Vivienne, eight. Angelina has applied for sole physical custody of the kids, allowing Brad visitation rights, but the 'Big Short' star wants the care to be shared equally. It was previously claimed that the 52-year-old actor has been left "completely devastated" by his divorce. An insider shared: "He is beside himself and has been crying. He was completely caught off guard and blindsided and had no idea she would do this. "Angelina filed the court papers a minute before the courts closed on Monday night. He didn't have a lawyer or anything. She had threatened divorce in the past but he did not think she would file this time. He is completely devastated and beside himself. He is a shattered man. "He's extremely upset. But he is totally focused on just being helpful and making sure his kids are doing as well as possible." And Brad is reportedly disappointed their split had to "play out publicly". A pal added: "He is emotionally torn. Right now, he is devastated. He still loved Angelina and would have preferred they fight to make the marriage work. He was willing to do whatever it took to save the marriage and didn't know Angelina had already given up on it. He has wanted to protect the children. He didn't want it to play out publicly."