Kodak Black is a free man.

The rapper, whose legal name is Bill Kapri, was released from a federal prison outside of Chicago on Wednesday, Jan. 20, after Donald Trump granted him clemency. He was serving a 46-month prison sentence for falsifying paperwork to obtain a firearm and served nearly half of that time.

Kodak Black Prison Release

Taking to Twitter, Kodak thanked the president and his supporters, which included Lil Yachty, Yo Gotti, and Lil Pump. “I Want To Thank The President @RealDonaldTrump For His Commitment To Justice Reform And Shortening My Sentence,” he tweeted. “I Also Want To Thank Everyone For Their Support And Love. It Means More Than You Will Ever Know. I Want To Continue Giving Back, Learning And Growing.”

The White House touted Kodak’s numerous philanthropic efforts. “He has committed to supporting a variety of charitable efforts, such as providing educational resources to students and families of fallen law enforcement officers and the underprivileged,” press secretary Kayleigh McEnany said in a statement. “In addition to these efforts, he has paid for the notebooks of school children, provided funding and supplies to daycare centers, provided food for the hungry, and annually provides for underprivileged children during Christmas.”

Kodak, along with Lil Wayne and Roc Nation CEO Desiree Perez, was among the 143 pardons and commutations issued by Donald Trump in the final hours of his presidency.

Despite his commutation, his legal woes are not over. The Florida rapper still faces a felony charge of first-degree criminal sexual conduct in South Carolina. According to TMZ, prosecutors are planning to “aggressively” proceed with the pending case against Kodak, who is accused of raping an 18-year-old woman in a hotel room following a 2016 concert. If convicted, he faces up to 30 years in state prison.