Jennifer Garner and Ben Affleck have finalised their divorce.

Ben Affleck and Jennifer Garner

Ben Affleck and Jennifer Garner

The former couple - who announced their separation in June 2015 after 10 years of marriage - have officially ended their marriage, according to court documents obtained by PEOPLE.

The duo met up at Jennifer's house alongside lawyers and a private judge on Thursday (04.10.18).

It comes after Ben broke his silence on his rehab stay, after completing a 40 day treatment programme.

He wrote on Instagram: "This week I completed a forty day stay at a treatment center for alcohol addiction and remain in outpatient care. The support I have received from my family, colleagues and fans means more to me than I can say. It's given me the strength and support to speak about my illness with others. Battling any addiction is a lifelong and difficult struggle. Because of that, one is never really in or out of treatment. It is a full-time commitment. I am fighting for myself and my family. So many people have reached out on social media and spoken about their own journeys with addiction. To those people, I want to say thank you. Your strength is inspiring and is supporting me in ways I didn't think was possible. It helps to know I am not alone. As I've had to remind myself, if you have a problem, getting help is a sign of courage, not weakness or failure. With acceptance and humility, I continue to avail myself with the help of so many people and I am grateful to all those who are there for me. I hope down the road I can offer an example to others who are struggling."

It was Jennifer - who shares Violet, 12, Seraphina, nine, and Samuel, six with the actor - who encouraged Ben to go to rehab to be "the best father he can be".