A Troy man pleaded guilty to attempted burglary in connection with a deadly home invasion in Cohoes last August.

Andy Sousie faces five years in prison for his role in the break in at a Remsen Street apartment that led to the fatal shooting of another man.

Police say the occupant, Shawn Rogowski, fired at the intruders and hit one man who later died. He was charged with endangering the welfare of a child.

According to court documents, he admitted to illegal drug sales the day before the shooting on August 5.