Ben Affleck completed treatment for alcohol addiction on Tuesday and it seems his time in rehab has done him a world of good.
"He has completed his treatment and is feeling good," a source close to Affleck tells ET, adding that the 44-year-old actor "did this for himself and his family."
WATCH: Ben Affleck Completes Rehab for Alcohol Addiction: I Want to 'Be the Best Father I Can Be'
"Family always comes first," the source added. "Ben has struggled with alcohol for years and it's a struggle that millions of people have to battle every day. He has nothing to hide and wants his kids to know that he did everything he could to be a better father. That's why he announced it himself."
Affleck took to Facebook on Tuesday to share the news, writing, "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."
According to the source, Affleck was clean and sober when he attended this year's Academy Awards in February, and brought along a male sober companion to the star studded ceremony.
WATCH: Ben Affleck Dishes On His Career Rock Bottom Bill Simmons' New HBO Series
The source adds that the Live By Night star is no longer working with the female sober coach that he was photographed with back in January.
As for the Oscar winner's relationship with his estranged wife, Jennifer Garner, the source says that "nothing has changed" between them, adding, "their relationship is still the same as it has been since announcing their separation."
However, Affleck did thank Garner for her support during his rehab treatment in his emotional Facebook post. The actor -- who shares three children with Garner, 11-year-old Violet, 8-year-old Seraphina and 5-year-old Samuel -- wrote, " 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."
Additional reporting by Jennifer Peros.
WATCH: Ben Affleck and Jennifer Garner Not Reconciling, 'No Change' in Their Relationship, Sources Say