PHILADELPHIA (CBS/AP) — Popular rapper and Philadelphia native Meek Mill was processed at State Correctional Institution—Graterford in Pennsylvania on Wednesday.

Credit: SCI Grateford

READ MORE: Teen Victim Speaks Out For First Time Following Racially Motivated Attack Aboard SEPTA Train

A judge sentenced the rapper to two to four years in prison in Pennsylvania for violating his probation on Monday.

Mill, 30, whose real name is Robert Williams,  appeared before a Judge Genece Brinkley in Philadelphia around 1:30 p.m. that day on allegations that he violated his probation.

Man Pulls Gun After Failing To Get McMuffin, Police Say

Mill goes back 10 years with Brinkley — all stemming from 2008 when he was convicted on gun and distribution charges.

There were positive tests for narcotics numerous times, according to evidence from probation officers.

There were also a number of calendar discrepancies.

The judge thought that Mill was supposed to be in Greece but he was in Philadelphia.

READ MORE: FBI Offers Reward For Justin Smith, Suspected Of Killing Pregnant Girlfriend Dianna Brice In Philadelphia

In court, Brinkley also said she didn’t know Mill was in Atlanta for supposed drug rehab.

All of these have been ruled as probation violations.

40 Percent Of Doctors, Nurses Go To Work With The Flu, Survey Finds

On Monday, a judge sentenced Mill to two to four years in state prison. He was immediately taken into custody.

The sentence came as a surprise after prosecutors recommended Mill not be imprisoned for the probation violations, noting he’s been off drugs since January and has complied with most requirements of probation.

But Brinkley says she’s been trying to help Mill for about a decade and that he just does whatever he wants.

According to Mill’s attorney, Brian McMonagle, they will appeal the sentencing, claiming the judge’s decision was “excessive.”

MORE NEWS: Camden County Issues Code Blue Ahead Of Freezing Temps Expected Overnight

(TM and © Copyright 2017 CBS Radio Inc. and its relevant subsidiaries. CBS RADIO and EYE Logo TM and Copyright 2017 CBS Broadcasting Inc. Used under license. All Rights Reserved. This material may not be published, broadcast, rewritten, or redistributed. The Associated Press contributed to this report.)