FILE – In this Nov. 6, 2017, file photo, rapper Meek Mill arrives at the Criminal Justice Center in Philadelphia. During a Monday, April 16, 2018, court hearing, Philadelphia prosecutors said Mill's drug and gun convictions should be thrown out and he should be granted a new trial, but Judge Genece Brinkley declined to rule and scheduled another hearing for June 2018. (AP Photo/Matt Rourke, File)

Protesters demonstrate in front of a courthouse during a hearing for rapper Meek Mill, Monday April 16, 2018 in Philadelphia. The city's district attorney says Mill's convictions should be vacated and he should have a new trial. The announcement came during a hearing on Monday, but a judge is still refusing to release Mill on bail. Philadelphia-born Mill was sentenced in November 2017 to two to four years in prison for violating probation on a roughly decade-old gun and drug case.(AP Photo/Jacqueline Larma)

Protesters uses their phones and listen to a speaker in front of a courthouse during a hearing for rapper Meek Mill, Monday April 16, 2018 in Philadelphia. The city's district attorney says Mill's convictions should be vacated and he should have a new trial. The announcement came during a hearing on Monday, but a judge is still refusing to release Mill on bail. Philadelphia-born Mill was sentenced in November 2017 to two to four years in prison for violating probation on a roughly decade-old gun and drug case.(AP Photo/Jacqueline Larma)

Rapper Meek Mill's son Papi holds a sign as protesters demonstrate in front of a courthouse during a hearing for the rapper, Monday April 16, 2018, in Philadelphia. The city's district attorney says Mill's convictions should be vacated and he should have a new trial. The announcement came during a hearing on Monday, but a judge is still refusing to release him on bail. Philadelphia-born Mill was sentenced in November 2017 to two to four years in prison for violating probation on a roughly decade-old gun and drug case. (AP Photo/Jacqueline Larma)

Rapper Meek Mill's son Papi holds a sign as protesters demonstrate in front of a courthouse during a hearing for Meek Mill, Monday April 16, 2018 in Philadelphia. The city's district attorney says Mill's convictions should be vacated and he should have a new trial. The announcement came during a hearing on Monday, but a judge is still refusing to release Mill on bail. Philadelphia-born Mill was sentenced in November 2017 to two to four years in prison for violating probation on a roughly decade-old gun and drug case.(AP Photo/Jacqueline Larma)

PHILADELPHIA (AP) — Rapper Meek Mill's drug and gun convictions should be thrown out and he should be granted a new trial, prosecutors said in court Monday in an announcement that led his supporters outside to break into an impromptu dance party.

Judge Genece Brinkley refused to free him on bail after the announcement from the Philadelphia district attorney's office during a hearing. She scheduled another hearing in June.

Mill, who was born in Philadelphia, was sentenced in November to two to four years in prison for violating probation on a roughly decade-old gun and drug case. Attorney Brian McMonagle said they will reach out to a higher court to get him released.

Spokesman Ben Waxman said the prosecutor's office agreed to support a new trial "due to questions of credibility of the arresting officer." The now-retired officer was among a list of police officers the prosecutor's office has sought to keep off the stand in cases across the city because of credibility questions.

McMonagle said the district attorney's office "has shown a lot of integrity."

"They obviously have recognized and determined the criminal behavior of the arresting officer, which dates back prior to Meek's arrest," he said.

A police spokesman said the department had no comment on the arresting officer allegations.

Mill's incarceration has become a cause celebre, with celebrities offering their support and recent prison visits from New England Patriots owner Robert Kraft, Philadelphia 76ers co-owner Michael Rubin and Philadelphia Mayor Jim Kenney, a Democrat.

Meek Mill's mother, grandmother and 6-year-old son, Papi, were on hand at the rally outside the courthouse, which erupted into cheers after the district attorney's announcement but went silent when it was learned Mill would remain behind bars for now.

"I miss my dad very much," Papi said. "He picks me up from school."

Brinkley has been the subject of harsh criticism from Mill's attorneys. They have unsuccessfully appealed the sentence multiple times and have called for Brinkley to recuse herself.

The judge defended herself this month, saying the court has "has impartially and without prejudice presided over numerous proceedings in this matter since 2008."

She added that "none of the allegations by (the) defendant constitute evidence that this court is unable to act impartially and without personal bias or prejudice with respect to this matter."

She said Mill has raised "unmeritorious claims of impropriety in an attempt to unfairly judge shop."