Robert Downey Jr. received a special Christmas gift this holiday season.

The “Iron Man” actor has been granted full and unconditional pardon by California Gov. Jerry Brown on Christmas Eve.

In 1996, Downey was convicted of possession of a controlled substance, carrying a concealed weapon in a vehicle with a prior conviction, driving under the influence and use of a controlled substance. The actor spent time in jail for these offences.

According to Governor Brown’s office, the “Captain America: Civil War” star served one year and three months in prison, two years on parole and nearly three years on probation for his convictions.

In a 2010 Rolling Stone interview, RDJ said: “I accidentally [got] involved in heroin after smoking crack for the first time. It finally tied my shoelaces together. Smoking dope and smoking coke, you are rendered defenseless. The only way out of that hopeless state is intervention.”

Governor Brown’s pardon noted that Downey exemplified “good conduct in the community” since his release and “has paid his debt to society and earned a full and unconditional pardon.”

RDJ is one of 91 people who received a pardon, most of whom had also been charged with minor drug offenses.

According to CNN, in order to be eligible for the pardon, the convicted individuals must keep their records clean for more than a decade after release from prison.

The Hollywood Reporter noted that according to the governor’s website, while a pardon doesn’t erase records of a conviction, it restores voting rights and is a public proclamation that the person has demonstrated “exemplary behavior.”

Meanwhile, Downey hasn’t directly addressed the news of his pardon. However, he did shared his holiday wishes to his fans on Instagram.

The actor posted an old clip of himself sneakily adjusting a Christmas stocking. He captioned the video: “You’re only on the naughty list if you get caught,” with the hashtag “#HappyAlmostChristmas.”

You're only on the naughty list if you get caught… #HappyAlmostChristmas

A post shared by Robert Downey Jr. (@robertdowneyjr) on