ROCHESTER, N.Y. (AP) — Police in upstate New York say a Rochester man shot two people, killing a 42-year-old man.

Rochester police say 49-year-old Joseph Boykins has been charged with second-degree murder and attempted murder in the early Wednesday shooting. WHEC-TV reports police discovered two victims at the scene: Michael Earlsey and a 28-year-old woman.

Boykins pleaded not guilty in court Thursday and was remanded to county jail without bail.

Police say Boykins was previously in a relationship with the woman.

Earlsey died from his injuries around 3 a.m. Wednesday while the woman remains at an area hospital in stable condition. Her identity has not been released.