A San Carlos man has pleaded no contest to voluntary manslaughter for beating a man to death outside a Belmont bar during an argument over a woman, a prosecutor said Friday.

Joseph Kaufman, 24, entered his plea Thursday in San Mateo County Superior Court in connection with the killing of 48-year-old Barney Hanepen. He faces up to 14 years in prison when he is sentenced May 23.

The two men had been drinking separately at the Lariat Tavern on El Camino Real last April 29 when they began arguing over Hanepen's female friend, said District Attorney Steve Wagstaffe.

The argument turned violent, and Kaufman punched Hanepen in the face, pushed him to the ground and repeatedly kicked him in the head and chest until the victim was bloody and unconscious, Wagstaffe said.

Hanepen suffered broken vertebrae, eye-orbit fractures, broken teeth and bleeding in the brain and died several days later.