A Philadelphia judge says Meek Mill will stay in prison because he's a "danger to the community."

Common Pleas Judge Genece Brinkley on Friday denied a request to allow the 30-year-old rapper to be bailed out of a Pennsylvania prison.

Mill's attorney says they plan to appeal her ruling, saying it continues a "long pattern of unfair treatment."

The judge's decision comes after the state Superior Court last week told her to act "without further delay" on a 2-week-old request to free the rapper.

People walk past a placard posted on a newsstand with a message of support for imprisoned rapper Meek Mill, in Philadelphia, Friday, Dec. 1, 2017. Mill’s imprisonment on a probation violation has set off a flurry of legal appeals, criticism of the crThe Associated Press
People walk past a placard posted on a newsstand with a message of support for imprisoned rapper Meek Mill, in Philadelphia, Friday, Dec. 1, 2017. Mill’s imprisonment on a probation violation has set off a flurry of legal appeals, criticism of the cr

Mill was sentenced last month to two to four years for violating probation on a roughly decade-old gun and drug case.

Mill's probation officer and a prosecutor had recommended he not be jailed.

His imprisonment has sparked backlash in opinion pieces, rallies, billboards and bus ads.