1.1938665-489038562
(FILES) This file photo taken on August 27, 2011 shows Rapper Lil Twist attending Cash Money Records' Lil Wayne album release party for "Tha Carter IV" at Boulevard3 in Los Angeles, California. Lil Twist, the rapper best known as the sidekick of Justin Bieber, was sentenced to a year in prison Wednesday after he pleaded guilty to assault. The 23-year-old rapper acknowledged that he beat up fellow artist and former child star Chris Massey two years ago at the Los Angeles apartment of the victim's brother Kyle Massey. / AFP / GETTY IMAGES NORTH AMERICA / David Livingston Image Credit: AFP

Justin Bieber’s former sidekick, Lil Twist, has been sentenced to a year behind bars after pleading no contest to beating and robbing a Nickelodeon actor.

The Los Angeles County district attorney’s office says the 23-year-old rapper, whose real name is Christopher Lynn Moore, entered the plea on the first day of his scheduled trial Wednesday. The plea wasn’t negotiated with prosecutors, who objected to it.

Prosecutors said the charges stemmed from an occasion two years ago when Zoey 101 star Christopher Massey asked Moore to leave a party. They say Moore slapped Massey before leaving, then returned with others and beat the actor.

Massey’s family issued a statement afterward saying the actor was defending himself.

Moore tweeted after leaving court Wednesday: “It’s over but not really, GOD got me!!”