Ben Affleck and Jennifer Garner
Ben Affleck and Jennifer Garner share three children: Violet, 11, Seraphina, 8, and five-year-old Samuel Jason Merritt/Getty Images

Ben Affleck and Jenifer Garner have officially filed for divorce two years after announcing their split, thereby putting an end to all the reconciliation rumours. The couple went public about their breakup on June 30, 2015.

The divorce filing was first reported by TMZ.

According to court documents, the Miracles from Heaven actress, who has remained on good terms with ex-Affleck throughout their separation period, asked for joint legal and physical custody of the couple's three children –11-year-old Violet, 8-year-old Seraphina and 5-year-old Samuel.

A source told People Magazine that their divorce filing is "super amicable." Another source told the outlet, "They always planned to divorce despite what people said. If you look at their first statement it says divorce not separate. "

Revealing that nothing has changed after the divorce filing, the insider continued, "They just did it the way they wanted to and did what was best for their kids. There was no catalyst, it was just time. Nothing has changed, they are and still will be putting their kids first."

Affleck and Garner broke off their 10-year marriage in June of 2015, and announced the news via joint statement. It reads, "After much thought and careful consideration, we have made the difficult decision to divorce. We go forward with love and friendship for one another and a commitment to co-parenting our children whose privacy we ask to be respected during this difficult time. This will be our only comment on this private, family matter. Thank you for understanding."

Following the announcement, Garner and Affleck have sparked reconciliation rumours as they continued to live together, spotted on vacation together with their kids. The Batman actor even called his estranged wife "world's greatest mom" in interviews and even thanked her for standing by him during his alcohol addiction treatment.

The Oscar winner wrote on Facebook in March, 2017, "I'm lucky to have the love of my family and friends, including my co-parent, Jen, who has supported me and cared for our kids as I've done the work I set out to do. This was the first of many steps being taken towards a positive recovery."