A Philadelphia judge ruled that Mill violated multiple provisions of his probation

Meek Mill Sentenced to 2 to 4 Years in State Prison for Violating Probation

Rapper Meek Mill has been sentenced to prison for a minimum of two years for violating probation.

The ex-boyfriend of Nicki Minaj was spotted arriving at a Philadelphia court on Monday before a judge ruled that he violated multiple provisions of his probation, according to Philly.com

Get push notifications with news, features and more.

A rep for Mill, 30, did not immediately respond to a request for comment from PEOPLE.

His sentence comes after Mill — born Robert Rihmeek William — was arrested twice this year.

Image zoom DAVID MAIALETTI/The Philadelphia Inquirer

Explaining why she was imposing a jail term that could be up to four years, Common Pleas Court Judge Genece E. Brinkley, recounted the numerous chances she had given Mill.

“[You are] just thumbing your nose at me,” the judge said, according to Philly.com.

The judge continued, saying that once Mill was in prison, “I’ll be done with you.”

The musician was then immediately handcuffed and taken from the court, Philly.com reports.

His defense attorney Brian McMonagle said he plans to appeal the rapper’s sentence.

PEOPLE confirmed in August that was charged with reckless endangerment in New York City. He later plead guilty to reckless driving.

Months earlier, in March, he was charged with misdemeanor assault after an altercation with employees at St. Louis International Airport. The charges were dropped after he agreed to perform community service.

Despite the charges being dropped, the judge – who has been dealing with Mill for years – ruled the arrests were violations of his probation.