An inmate at the federal penitentiary in Hazelton, W.Va., pleaded guilty Monday to federal murder charges and was sentenced to life in prison for killing another inmate with a homemade knife seven years ago.

Patrick Andrews, 34, originally from Washington, D.C., pleaded in U.S. District Court in Clarksburg to a count of murder by a federal prisoner serving a life sentence and a count of second degree murder in a federal facility.

Prosecutors said Andrews, who was serving 35 years to life at Hazelton for two murders, and another inmate, Kevin Bellinger, attacked inmate Jesse Harris on Oct. 7, 2007, stabbing him to death with knives in an "orchestrated attack." While a group of inmates was being moved from the recreation yard back to their cells, Andrews and Bellinger confronted Harris and killed him.

Surveillance video showed the two engage in a verbal confrontation with Harris followed by the attack. Harris was not armed and backed away from the other two before they stabbed him repeatedly.

Bellinger, who was serving 15 years to life for an assault with intent to kill, was convicted in 2014 and sentenced in October to life in prison.