A London man has pleaded guilty to manslaughter in the 2017 killing of a cab driver.

Cody Perkin, 24, entered the plea Friday in relation to the April 29, 2017 beating death of Vijay Bhatia.

Perkin was sentenced to time served plus two years.

Perkin must serve half of his sentence before becoming eligible for parole. Perkin has sepnt the equivalent of 808 days in custody.

Bhatia, 64, was found in a Wonderland Road South convenience store parking lot after police officers responded to an assault call that night.

Police say Bhatia had picked up two passengers and investigators say he was assaulted by one of them after driving the duo to the parking lot.

Perkin was arrested by police and was initially charged with second-degree murder.

It was revealed in court Friday, that a post-mortem exam determined Bhatia had died of a heart attack, and not from the injuries he sustained in the assault/

Bhatia’s death was ruled homicide by heart attack. The stress of the assault triggered a heart attack that led to his death.

Perkin also was charged with assault and uttering threats regarding a second unidentified victim who suffered minor injuries.

On Friday, Perkin also pleaded guilty to the assault charge.