Los Angeles: Actor Jon Hamm has finished a rehab stint just days before the premiere of the final episodes of “Mad Men”.

The “Million Dollar Arm” actor spent 30 days at Silver Hill Hospital in New Canaan, Connecticut for alcohol abuse.

He checked himself to the rehab facility at the end of February, reported Ace Showbiz.

“With the support of his longtime partner Jennifer Westfeldt, Jon Hamm recently completed treatment for his struggle with alcohol addiction. They have asked for privacy and sensitivity going forward,” his representative said in a statement.

It’s not revealed when Hamm, 44, checked out of the rehab facility but he was seen attending a “Mad Men” screening at the Museum of Modern Art in New York on March 22.

The final run of “Mad Men” starring Hamm, Elisabeth Moss, Vincent Kartheiser, January Jones and Christina Hendricks will premiere on April 5 on AMC.

Besides “Mad Men”, Hamm also lent his voice for upcoming animated movie “Minions”.