Jon Hamm has revealed that he recently completed a rehabilitation course for alcoholism. Hamm's publicist Annett Wolf said in a statement on Tuesday the actor entered rehab with the support of his longtime partner Jennifer Westfeldt.

Jon HammJon Hamm played Don Draper on AMC's signature drama series Mad Men

"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," read the statement.

According to the gossip website, Hamm checked himself into Silver Hill Hospital in New Canaan, Connecticut at the end of February. The final season of Mad Men was already in the can, though Hamm checked out just a couple of days ago, ahead of the premiere of AMC's final batch of episodes.

More: Bryan Cranston helped Jon Hamm get over Mad Men

Hamm played Don Draper on Mad Men, the troubled but brilliant advertising executive who has a drink problem and a murky past. The role has brought Hamm a number of Emmy award nominations.

In a 2013 interview with the Observer, Hamm spoke of the weight of expectations on high-profile actors.

"Our names tend to come with something attached - an audience and an expectation, and I guess a price tag. The challenge is to choose the right things to do," he said.

On the differences between himself on Draper, Hamm said: "I'm not that methody. I am very cognisant that I am playing a character. Don Draper is a pretty dismal, despicable guy, so why I would want to take him home with me I don't know."

More: Jon Hamm, Kristen Wiig join Netflix's Wet Hot American Summer