SAN DIEGO (AP) _ A man who randomly assaulted a woman on the street was sentenced to six years in prison in the first case of its kind to be prosecuted as a hate crime in California.

A jury found that Billy McCall's hatred of women motivated the Aug. 1 attack. That added two years to McCall's sentence, which was handed down Thursday.

The case was the first time the state's hate crime law has been used to prosecute an offense motivated by the victim's gender. Hate crime laws usually are applied in cases involving crimes motivated by race, ethnicity or sexual orientation.

The victim had been tackled from behind and hit her head on the sidewalk.

McCall, 29, was convicted March 2.

McCall's attorney, Karolyn Kovtun, said an appeal has been filed challenging the use of the hate crime law.

Karen McLaughlin, director of the National Center for Hate Crime Prevention in Boston, said McCall's conviction was one of the first of its kind in the nation.