PORTSMOUTH, Va. (WVEC) -- A judge denied a bond motion for a former Portsmouth police officer who is serving time for killing an unarmed teenager.

Stephen Rankin appeared in court on Monday.

The former police officer shot and killed William Chapman outside a Walmart in 2015. He is currently serving a two-and-a-half-year sentence after a jury convicted him of Voluntary Manslaughter.

A three-judge panel will hear oral arguments in his appeal on February 6. If the panel rules he was not guilty of the crime, Rankin will be freed, and his record will be expunged.

If, however, the panel determines Rankin should be tried again, and Rankin is convicted again, he could receive a sentence of 10 years.

Rankin's attorney said if the former police officer is released, he planned to return to school for electrical engineering.