A judge on Tuesday sentenced Chris Brown to five years' probation and six months' community labor for the beating of his fellow pop star Rihanna and issued a stern admonition to the R&B singer.

Los Angeles Superior Court Judge Patricia Schnegg told Brown that he could be sent to state prison if he violated any terms of his sentence, including an order to stay away from Rihanna, 21, for the next five years.

Brown will serve his sentence in Virginia, his home state, and his community labor will be overseen by the chief of police in Richmond, Bryan T. Norwood.

The judge said she wanted to ensure that Brown, 20, performs physical labor instead of community service, such as mentoring young people.

Rihanna did not attend Tuesday's sentencing.

At one point, Brown, who was accompanied by his mother, agreed to the terms of the sentence before Schnegg had finished going through them all.

The hearing had been planned for Thursday afternoon, but Brown's lawyer, Mark Geragos, asked to move up the singer's sentencing to Tuesday.

Brown was arrested Feb. 8, hours after he was accused of beating Rihanna.

The attack occurred in the Hancock Park neighborhood of Los Angeles, in a rented sports car driven by Brown. A Los Angeles police detective described a brutal attack in a search warrant affidavit filed in the case, stating Brown hit, choked and bit Rihanna and tried at one point to push her from the car.

A felony charge of making criminal threats was dropped during Tuesday's sentencing.