A UBC law student has been sentenced to five years in prison for the 2006 murder of his friend outside of West Vancouver's posh Hollyburn Country Club.

Sasan Ansari, 29, was sentenced Friday in B.C. Supreme Court for manslaughter in the death of Joshua Goos.

Last month, a jury ruled Ansari was not guilty of the more serious charge of second-degree murder.

The UBC law student admitted to causing the 30 stab wounds that killed Goos, but testified he had no memory of the attack.

At the trial, a forensic psychiatrist told the jury Ansari suffered a bout of amnesia at the time of the attack and was likely in a "dissociated state" caused by stress.

Goos, 27, was attacked in his Jeep Cherokee outside the country club during an argument over a $90,000 loan from Ansari.