Former 49ers and Raiders lineman Kwame Harris was sentenced Friday to five days in jail and three years of probation for beating up his ex-boyfriend outside a Menlo Park restaurant in August 2012.

San Mateo County Superior Court Judge Joseph Scott also ordered Harris to take 104 hours of domestic violence counseling and pay $200 to a battered women's shelter and $500 to a domestic violence fund, according to the San Mateo County District Attorney's Office. Scott also prohibited Harris from possessing a weapon or ammunition and from harassing the victim, Dimitri Geier.

Harris, a former Stanford University player and a 49ers' top draft pick, is scheduled to go to jail on Feb. 8.

After a six-day trial, a jury last month convicted Harris of misdemeanor violence and assault charges but acquitted him of felony domestic violence and assault charges.

According to prosecutors, Harris and Geier were romantically involved at the time and had previously lived together. While dining at a Chinese restaurant, they began to argue and Harris then pinned Geier against a glass wall. When they went outside, Harris hit Geier several times in the face and head, causing a compound facial fracture that required surgery and insertion of a metal plate.

Harris claims that Geier started the physical fight.

Harris' defense attorney Alin Cintean said Friday he will appeal the conviction and is confident of prevailing.

"The punch that broke the bones was in self-defense," Cintean said.

Email Bonnie Eslinger at beslinger@dailynewsgroup.com; follow her at twitter.com/bonnieeslinger.