Meek Mill is a free man.

The Pennsylvania Supreme Court released the hip-hop artist from prison Tuesday after he served five months for parole violation. Mill, whose real name is Robert Rihmeek Williams, had originally been sentenced to serve two to four years.

“While the past five months have been a nightmare, the prayers, visits, calls, letters and rallies have helped me stay positive,” he said in a statement. “To the Philadelphia District Attorney’s office, I’m grateful for your commitment to justice — not only for my case, but for others that have been wrongfully jailed due to police misconduct.”

Judge Genece Brinkley, who has been presiding over Williams’ case since his original guns and drugs charges arose in 2008, denied Williams bail last week. The state’s highest court overruled her decision after prosecutors from Philadelphia’s district attorney’s office came out in support of vacating Williams’ original drug conviction.

The arresting officer of the 2008 case has been listed among the cops “considered tainted and unworthy of testimony by the DA’s office,” according to Vibe.

In a statement, Williams’ lawyer Joe Tacopina said, he is “pleased that the Pennsylvania Supreme Court has noted that Judge Brinkley may opt to remove herself from presiding over any further proceedings in Meek’s case in the interests of justice. Meek is excited to be reunited with his family, and we, along with Meek, intend to continue to shine the light on a justice system in need of reform to prevent any other citizen from being put through what Meek has endured.”

Hip-hop power couple Jay-Z and Beyonce, former San Francisco 49ers quarterback Colin Kaepernick, comedian Kevin Hart and Philadelphia 76ers co-owner Michael Rubin were among those to rally around Williams during his incarceration.

In his statement, Williams vowed to help inmates who have been wrongly imprisoned.

“Although I’m blessed to have the resources to fight this unjust situation, I understand that many people of color across the country don’t have that luxury and I plan to use my platform to shine a light on those issues,” he said. “In the meantime, I plan to work closely with my legal team to overturn this unwarranted conviction and look forward to reuniting with my family and resuming my music career.”