HARTFORD, Conn. (WTNH) — A deck of playing cards has led to a conviction in a 2006 murder case.

The state Division of Criminal Justice says 27-year-old Hector Torres pleaded guilty Friday to the murder of Derek Comrie. According to the arrest warrant, Comrie was shot and killed in front of Buckley High School after a basketball game on January 10, 2006.

Officials say Torres was arrested after investigators received a tip through the cold case playing cards, which are made available to inmates in Connecticut’s correctional institutions and include information on an unsolved homicides or missing persons cases. They say Comrie was featured on a card in the deck.

Torres is scheduled to be sentenced on July 9, the same day he is scheduled to be sentenced for the murder of Luis “Berto” Benitez, who died in March 2010 as a result of injuries sustained outside a convenience store on New Britain Avenue in Hartford in December 2009.

According to officials, the plea agreement calls for a total sentence of 30-38 years in prison for all offenses.