PHILADELPHIA (AP) — Rapper Meek Mill walked out of prison Tuesday after Pennsylvania's highest court ordered him freed while he appeals decade-old gun and drug convictions. Following a five-month campaign by his supporters to get him out, the state Supreme Court directed a Philadelphia judge who had jailed him to immediately issue an order releasing him on unsecured bail. Mill was sentenced in November to 2 to 4 years in prison for probation violations. He was taken from the prison by helicopter to Philadelphia, where he rang the ceremonial bell at the start of the Philadelphia 76ers-Miami Heat playoff series. "Welcome home Meek Mill," said the game announcer to the rapper, who was sitting courtside next to actor Kevin Hart and Sixers co-owner Michael Rubin. Before the game, Mill visited privately with the Sixers in their locker room. A team of lawyers and public relations consultants had waged an all-out battle to get him freed, leveling fierce criticism at the judge as a stream of high-powered figures and celebrities visited him in jail outside Philadelphia just hours before the Supreme Court ruling. Mill issued a statement saying the past months had been "a nightmare," and thanked his many supporters and visitors, who included Rubin, New England Patriots owner Robert Kraft, and Philadelphia Mayor Jim Kenney. "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," Mill said. He said he would now focus his attention on getting his convictions overturned, and that he looks forward to resuming his music career. Earlier this month, in a major victory for Mill, prosecutors said they agreed with his lawyers that he should get a new trial because of questions raised about the arresting officer.Read more on NewsOK.com