A 19-year-old Joliet man is being held on $2 million bail in connection with the shooting death of a Lockport man.

Jacob Megrant, of the 6800 block of Hadrian Drive, is charged with armed violence, drug possession, unlawful possession of a firearm by a gang member, unlawful use of a weapon and obstruction of justice in Tuesday's death of Alexander Perez.

Perez was found dead in the driveway Megrant’s home, prosecutors said Thursday during Megrant’s bond hearing in Will County court.

Preliminary autopsy results show he died from a single gunshot wound to the chest, but prosecutors said they have conflicting reports on who fired the fatal shot. Joliet police continue to investigate Perez’s death.

According to prosecutors, Perez had purchased drugs from Megrant in the past and was at Megrant’s home to purchase a gun. Megrant gave Perez the gun used in his death, prosecutors said. After Perez was shot, Megrant and others moved Perez’s body to the driveway.

“He was still alive,” Megrant, appearing in court via video feed, blurted out during the hearing, suggesting that Perez was not dead when he was moved.

Judge Art Smigielski advised Megrant not to say anything further after his outburst.

Megrant, who looked down at a table and picked at his arm during the hearing, appeared to “have been fleeing” and was arrested in Bloomington, Ill., prosecutors said. Police recovered three guns and 15 grams of cocaine when he was arrested.

A woman who identified herself as his mother declined to comment after the hearing. Megrant’s next scheduled court date is Sept. 20.