NEW YORK, NEW YORK - MARCH 20:  Actor Ben Affleck attends the "Batman V Superman: Dawn Of Justice" New York Premiere at Radio City Music Hall on March 20, 2016 in New York City.  (Photo by Jamie McCarthy/Getty Images)
PHOTO: Jamie McCarthy/Getty Images
NEW YORK, NEW YORK - MARCH 20: Actor Ben Affleck attends the "Batman V Superman: Dawn Of Justice" New York Premiere at Radio City Music Hall on March 20, 2016 in New York City. (Photo by Jamie McCarthy/Getty Images)
Now playing
00:45
Ben Affleck completes addiction treatment (2017)
HOLLYWOOD, CA - JUNE 22:  Carrie Underwood attends the 2018 Radio Disney Music Awards at Loews Hollywood Hotel on June 22, 2018 in Hollywood, California.  (Photo by Rich Fury/Getty Images)
PHOTO: Rich Fury/Getty Images
HOLLYWOOD, CA - JUNE 22: Carrie Underwood attends the 2018 Radio Disney Music Awards at Loews Hollywood Hotel on June 22, 2018 in Hollywood, California. (Photo by Rich Fury/Getty Images)
Now playing
01:43
Carrie Underwood reveals pregnancy struggles
INGLEWOOD, CA - DECEMBER 01:  (EDITORIAL USE ONLY. NO COMMERCIAL USE) Demi Lovato in the press room during 102.7 KIIS FM
PHOTO: Alberto E. Rodriguez/Getty Images
INGLEWOOD, CA - DECEMBER 01: (EDITORIAL USE ONLY. NO COMMERCIAL USE) Demi Lovato in the press room during 102.7 KIIS FM's Jingle Ball 2017 presented by Capital One at The Forum on December 1, 2017 in Inglewood, California. (Photo by Alberto E. Rodriguez/Getty Images for iHeartMedia)
Now playing
00:45
Demi Lovato 911 call: 'No sirens, please'
Gretchen Wilson arrives at the 50th annual CMA Awards at the Bridgestone Arena on Wednesday, Nov. 2, 2016, in Nashville, Tenn. (Photo by Evan Agostini/Invision/AP)
PHOTO: Evan Agostini/Invision/AP
Gretchen Wilson arrives at the 50th annual CMA Awards at the Bridgestone Arena on Wednesday, Nov. 2, 2016, in Nashville, Tenn. (Photo by Evan Agostini/Invision/AP)
Now playing
00:50
Country singer arrested after airport incident
French actor Gerard Depardieu waves as he arrives at the Town Hall  in Brussels for a ceremony as part of the
PHOTO: THIERRY ROGE/AFP/AFP/Getty Images
French actor Gerard Depardieu waves as he arrives at the Town Hall in Brussels for a ceremony as part of the 'Brussels International Film Festival' (Briff) on June 25, 2018. (Photo by THIERRY ROGE / BELGA / AFP) / Belgium OUT
Now playing
01:36
Actor Gérard Depardieu accused of rape
HOLLYWOOD, CA - MAY 18:  Actor Johnny Depp attends the premiere of Disney
PHOTO: Rich Fury/Getty Images North America/Getty Images
HOLLYWOOD, CA - MAY 18: Actor Johnny Depp attends the premiere of Disney's 'Pirates Of The Caribbean: Dead Men Tell No Tales' at Dolby Theatre on May 18, 2017 in Hollywood, California. (Photo by Rich Fury/Getty Images)
Now playing
01:16
Johnny Depp's candid Rolling Stone interview
vince vaughn arrest dui orig sc_00000000.jpg
PHOTO: Manhattan Beach Police
vince vaughn arrest dui orig sc_00000000.jpg
Now playing
01:15
Actor Vince Vaughn arrested for DUI
Jada Pinkett Smith suicide orig mg rf_00003425.jpg
PHOTO: Megyn Kelly TODAY
Jada Pinkett Smith suicide orig mg rf_00003425.jpg
Now playing
01:15
Jada Pinkett Smith on having suicidal thoughts
PHOTO: AFP/Getty Images
Now playing
00:53
Country superstar apologizes for Trump comment
HOUSTON, TX - FEBRUARY 04:  Rapper Meek Mill arrives for the Fanatics Super Bowl Party at Ballroom at Bayou Place on February 4, 2017 in Houston, Texas.  (Photo by Robin Marchant/Getty Images for Fanatics)
PHOTO: Robin Marchant/Getty Images
HOUSTON, TX - FEBRUARY 04: Rapper Meek Mill arrives for the Fanatics Super Bowl Party at Ballroom at Bayou Place on February 4, 2017 in Houston, Texas. (Photo by Robin Marchant/Getty Images for Fanatics)
Now playing
02:11
Meek Mill's legal saga
Now playing
00:54
Will Ferrell involved in car accident
PHOTO: Roc Nation
Now playing
01:12
Meek Mill released from prison
NEW YORK, NY - NOVEMBER 14:  Wendy Williams attends the 50th anniversary celebration of Wilhelmina with co-host Patti Hansen on November 14, 2017 in New York City.  (Photo by Ilya S. Savenok/Getty Images for Wilhelmina Models)
PHOTO: Ilya S. Savenok/Getty Images North America/Getty Images for Wilhelmina Mode
NEW YORK, NY - NOVEMBER 14: Wendy Williams attends the 50th anniversary celebration of Wilhelmina with co-host Patti Hansen on November 14, 2017 in New York City. (Photo by Ilya S. Savenok/Getty Images for Wilhelmina Models)
Now playing
00:47
Wendy Williams on hiatus after diagnosis
PHOTO: Julia Louis-Dreyfus/Twitter
Now playing
01:08
Julia Louis-Dreyfus shares post-op photo
Singer Lana Del Rey performs at Terminal 5 on October 23, 2017 in New York City.  (Photo by Mike Coppola/Getty Images)
PHOTO: Mike Coppola/Getty Images
Singer Lana Del Rey performs at Terminal 5 on October 23, 2017 in New York City. (Photo by Mike Coppola/Getty Images)
Now playing
00:43
Man arrested outside Lana Del Rey concert
Lady Gaga arrives for the 60th Grammy Awards on January 28, 2018, in New York.  / AFP PHOTO / ANGELA WEISS        (Photo credit should read ANGELA WEISS/AFP/Getty Images)
PHOTO: ANGELA WEISS/AFP/AFP/Getty Images
Lady Gaga arrives for the 60th Grammy Awards on January 28, 2018, in New York. / AFP PHOTO / ANGELA WEISS (Photo credit should read ANGELA WEISS/AFP/Getty Images)
Now playing
00:54
Lady Gaga cancels final tour dates
(CNN) —  

Ben Affleck has revealed he has completed treatment for alcohol addiction.

The actor disclosed his treatment in a statement on his Facebook page on Tuesday.

“I have completed treatment for alcohol addiction; something I’ve dealt with in the past and will continue to confront,” he wrote. “I want to live life to the fullest and be the best father I can be.”

Affleck previously sought treatment for alcohol abuse in 2001.

“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,” Affleck 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.”

Related: Ben Affleck on co-parenting with Jennifer Garner: ‘We do our best’

Warner Bros. announced back in January that Affleck was stepping down from his ‘Batman’ directing duties. At the time he said the decision was made because the role “demands focus, passion and the very best performance I can give.”

“It has become clear that I cannot do both jobs to the level they require,” he said at the time.

He was replaced by Matt Reeves in February.

Affleck will still produce and star in the film for Warner Bros., which like CNN is owned by Time Warner.

“This was the first of many steps being taken towards a positive recovery,” Affleck added in his post.

Affleck was most recently seen in public at the 2017 Academy Awards in February.