This article originally appeared on People. For more stories like this, visit
Jennifer Garner, Ben Affleck
Credit: Jason Merritt/Getty

Jennifer Garner has filed for divorce from Ben Affleck nearly two years after the couple originally announced their split, PEOPLE confirms.

Garner and Affleck filed the docs together, according to TMZ, and they both will be seeking joint legal and physical custody of their three kids.

A source tells PEOPLE the filing is “super amicable.”

The former couple broke off their 10-year marriage in June of 2015, telling PEOPLE in a joint statement, “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.”

Over the following months, Garner and Affleck, both 44, sometimes sparked reconciliation rumors as they continued to live together, vacation together and co-parent their kids — Violet, 11, Seraphina, 8, and Samuel, almost 5 — while also stepping out for solo outings.

The friendly exes have been spotted out frequently during the last few months, including a sighting on Election Day in L.A. where they were both seen wearing “I Voted” stickers after casting their ballots. The actors also spent the holidays together with their kids in Montana, with a source telling PEOPLE they “seemed to have a great time.”

VIDEO: Jennifer Garner's Red Carpet Evolution

Affleck called Garner the “world’s greatest mom” at a TimesTalk in New York in mid-December while saying that the births of their children were the most defining moments of his life. “It’s a joy to hang out with them,” he added. “I think the meaning of life is to make good people.”

“They are co-parenting the best they can,” a source who knows both of them told PEOPLE recently. “Whatever incarnation of a relationship this is works for them.”

Garner even moved to London for several weeks with Affleck and the kids in spring 2016, sharing a rented house and sightseeing in Europe while the actor filmed Justice League.

“Ben was working in London on Justice League and I felt like, ‘Well, the kids should have that experience,’ and he and I are great friends and we just all went en masse,” she said in a Today show interview in August, during which she also called their family a “modern family.”

This Story Originally Appeared On People