Jon Hamm is out of rehab.

The 44-year-old "Mad Men" star has completed a 30-day treatment program for alcohol abuse. According to TMZ, Hamm checked into the Silver Hill Hospital in New Canaan, Connecticut, at the end of February.

"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," a representative for the actor told Page Six.

Additional details on Hamm's rehab stint have not been disclosed.

Fortunately, Hamm is out just in time for the premiere of the seventh and final season of AMC's "Mad Men," where Hamm portrays Don Draper, a man who also has an alcohol addiction. Page Six reported that Hamm did attend a screening of "Mad Men" in New York City on Saturday, but did not address his rehab stay.

In a recent interview with GQ Magazine, the actor said he has no plans set after "Mad Men" is over.

"Look, the one constant thing I've had in my career is now removed. And that's an eye-opener: Are people still going to take me seriously? Am I just going to do romantic comedies for the rest of my life? I don't know," he told GQ. "I guess some people would say, 'Okay, the last three years of 'Mad Men' is going to be like this: I want to do a play. I want to do this. I want to do that.' I was just like, 'I want to do something that seems cool.'"

The second half of the final season of "Mad Men" premieres April 5.