Ben Affleck has said he hopes one day to be an example to others who are battling addiction as he confirmed he has completed a 40-day stay in rehab.
The Gone Girl star added he has had to remind himself that getting treatment is a sign of strength and not weakness.
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."
He was photographed being driven to the facility by his estranged wife Jennifer Garner in August.
The actor has been treated for his addiction before, most recently in 2017 when he wrote on Facebook: "I want to live life to the fullest and be the best father I can be. I want my kids to know there is no shame in getting help when you need it, and to be a source of strength for anyone out there who needs help but is afraid to take the first step.
"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."
Affleck and Garner separated in 2015 and share three children - Violet, Seraphina and Samuel.