NEW YORK (AP) — Ja Rule is headed to a New York prison for up to two years in a gun case.

The platinum-selling rapper and actor was sentenced Wednesday. He pleaded guilty in December to attempted criminal weapon possession.

Authorities said he had a loaded gun in his luxury sports car when it was stopped as he left a Manhattan concert in July 2007.

Ja Rule was nominated for a 2002 best rap album Grammy Award for “Pain Is Love.” His movie credits include 2001’s “The Fast and the Furious” and 2003’s “Scary Movie 3.”

He has been wrapping up a forthcoming album, “Pain Is Love 2.”

Copyright 2011 The Associated Press.