Updated

A California prostitute charged with killing a Google executive with an overdose of heroin aboard his yacht has pleaded guilty to involuntary manslaughter and administering drugs.

A Santa Cruz County Superior Court judge sentenced defendant Alix Tichelman to six years in prison on Tuesday.

Authorities say Tichelman injected Forrest Timothy Hayes with heroin in November 2013 then left without seeking help when he passed out on the yacht.

Authorities said Hayes hired Tichelman several times before and they were doing drugs and having sex the night he died.

Tichelman's attorney Larry Biggam says his client was relieved to have the court proceedings behind her and she is expected to serve only three years. She will be credited for nearly a year already served.