A Virginia security guard who fatally shot a grandfather who was playing "Pokemon Go" was sentenced to decades in prison on Monday.

Johnathan Cromwell, 24, will serve 30 years for killing Jiansheng Chen, 60, in 2017. A jury previously found Cromwell guilty of second-degree murder in Chen's death.

Johnathan Cromwell, 24, was sentenced to 30 years in prison on Monday for killing Jiansheng Chen, 60. (Chesapeake Sheriff's Office/GoFundMe)

Chen was sitting in a minivan in a parking lot of the Riverwalk Clubhouse in Chesapeake, playing the widely popular game on his phone, when Cromwell — who was working as a security guard for Citywide Protection Services — shot Chen.

TEXAS MOM CHARGED WITH CAPITAL MURDER SAYS DEMONS TOLD HER TO SACRIFICE SON, 8: POLICE

Cromwell, who had been on the job roughly two months, testified that the vehicle was moving when he opened fire in self-defense.

However, prosecutors said broken glass was found underneath the van's shot-out windows, disproving Cromwell's claim.

CLICK HERE TO GET THE FOX NEWS APP

Nancy Brown, the commonwealth's attorney, said in court on Monday that while nothing will help heal the pain that Chen's family has experienced, she hopes "this does bring some closure to them," The Virginian Pilot reported.

An attorney for Cromwell says they plan to appeal the case.

The Associated Press contributed to this report.