OAKLAND -- A 61-year-old man was sent to prison for the rest of his life Friday after being found guilty of second-degree murder for shooting his friend after an argument.

Christopher Miles, who refused a nine-year prison term in a plea deal, was found guilty in September of killing Danny Jackson on April 12, 2010, as Jackson walked away from Miles' home in East Oakland.

Jackson was shot at twice, with one bullet from Miles' high-powered rifle hitting Jackson in the head. Evidence showed that Miles shot Jackson from inside his home and fired the weapon through a closed metal security door. Jackson was standing at least 24 feet away.

Miles claimed he shot Jackson in self-defense testifying that he heard a gunshot before he fired his weapon. Miles also said he felt his life was in danger because someone threw an object through his window.

But Deputy district attorney Greg Dolge said Miles' story about hearing a gunshot was fabricated and was only mentioned in trial. Miles never mentioned hearing a gunshot in numerous interviews with police.

Miles shot Jackson after he kicked Jackson out of his home.

Jackson had gone to the home to speak to Clover Harper-Green, a female friend of Miles who was hiding from her abusive boyfriend Melvin Jones.

Jackson was friends with Jones and Miles and was initially invited into Miles' home. However, when Miles realized that Jackson was attempting to convince Harper-Green to return to Jones, Miles told Jackson to leave.

Though Jackson threatened Miles as he left the house, Miles was not in imminent danger when he shot the 59-year-old.

Miles was sentenced to 40 years to life in prison and must serve 40 years before he is eligible for parole. Miles will be 101 years at that time.

Miles could have been released in just over seven years had he agreed to a plea deal. The deal was offered after a different jury couldn't come to an agreement on the case, causing a mistrial that allowed the prosecution to seek another trial.

Before the trial began, Miles agreed to a deal that would keep him in prison for six years but Alameda County Superior Court Judge Carrie Panetta believed six years was too low and said she would only approve the deal if Miles spent nine years in prison. Miles refused.

Dolge said Friday that Miles continued not to take responsibility for his actions or show compassion to the family of the person he killed.

"He has a stubborn refusal to accepting responsibility and has a complete lack of remorse," Dolge said.