Jennifer Garner, Ben Affleck

(TMZ) - Ben Affleck and Jennifer Garner are ending their 10 year marriage ... TMZ has learned. According to TMZ, the couple, whose anniversary was yesterday, will file for divorce.

Although they will file for divorce, it won't be done immediately. They are working things out with a mediator and business managers, sources tell TMZ. The divorce will be filed when all of the property and custody issues are resolved. 

TMZ reports the divorce is amicable and Ben and Jen will share joint custody of their 3 children, ranging in ages from 3 to 9. The couple says:

"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."

Photo: Getty Images