OAKLAND — An Alameda County judge on Monday sentenced a 25-year-old Fremont woman to six years and eight months for fatally running over one man and injuring a tow truck driver in 2014 after a sleepless night doing drugs, and less than an hour after causing another accident.

Melissa Fan Ho was also ordered to partake in comprehensive mental health and drug rehabilitation programs during her incarceration at an emotional two-hour hearing on Monday. Many friends and family of the slain man, 22-year-old Sacramento resident William Sampson, and volunteers from Mothers Against Drunk Driving attended the hearing. Ho did not make a statement.

“She is far too young for the rest of her life to be wasted,” said Judge Tara Desautels. “The court sincerely hopes that this becomes your opportunity to turn your life around.”

Ho told police that she did cocaine during her night shift at Dave & Busters and then stayed up all night doing drugs with a friend. Cocaine, methamphetamine, amphetamine, THC, and medication that Ho used to treat a heroin addiction were among the drugs detected by a urine test after the accident.

While prosecutor Angela Backers argued that Ho was criminally negligent for driving under the influence of drugs, Ho was not prosecuted for or convicted of DUI in connection with Sampson’s death. Ho wasn’t blood tested after the accident. Had she tested positive for drugs, the Alameda County District Attorney’s Office could have considered charging her with murder because of a prior DUI conviction.

“You had chance after chance to make a good choice. To stop driving, to stay at your friends, to get sleep, to call into work, not to ingest all those party drugs,” Sampson’s mother, Angel Parker told Ho in court Monday.

“You have affected my life and so many people’s lives by taking our William away,” Parker said. “I hope that every single second you serve is hell because I have a life sentence of hell. I am numb. I am in gut-wrenching pain.”

Sampson was supposed to take a Greyhound train back to Sacramento that morning, but stayed in the South Bay to help his friend who was having car trouble. Sampson was helping a tow truck driver on the shoulder of Interstate 880 by Dixon Landing Road when Ho drove into them.

Sampson was killed instantly. The tow truck driver suffered severe injuries to his leg, and a broken nose.

The court received high number of victim impact letters — more than 65 — from friends and family of Sampson, who was described as very kind, fun-loving and great with children.

Less than an hour before the fatality, Ho rear-ended another car and disabled her own vehicle. Her mother met her at the accident scene and waited for a tow truck for Ho’s car while Ho left in from mother’s Volvo so she could get ready for work. Ho was driving the Volvo when she killed Sampson.

Judge Desautels told Ho on Monday that the first accident should have convinced her that she was too intoxicated to drive.