Sean Penn pleaded no contest to vandalism on Wednesday, effectively ending a case in which the Oscar-winning actor was videotaped kicking a celebrity photographer. Penn was not present in court and entered the plea through his attorney. He was sentenced to three years of informal probation and ordered to perform 300 hours of community service, said city attorney's spokesman Frank Mateljan.

Mateljan says those hours can be completed through Penn's earthquake-relief efforts in Haiti.

He was also ordered to undergo 36 hours of anger management counseling and stay 100 yards away from the photographer.