New York (CNN) -- A New York man released on parole last month pleaded not guilty Wednesday in connection with the stabbing of two children in Brooklyn, one of whom died, authorities said. Daniel St. Hubert, 27, was indicted on charges of second-degree murder, second-degree attempted murder, first-degree assault and criminal possession of a weapon. He faces 50 years to life in prison if convicted. Police believe Hubert was out on parole on June 1 when he allegedly stabbed the two children -- killing one of them -- inside an elevator. "These two innocent children were subjected to unimaginable violence and terror in that elevator," Kings County District Attorney Kenneth Thompson said in a statement. Prince Joshua "PJ" Avitto, 6, died from his injuries, and his friend, Mikayla Capers, 7, was wounded.
@highlight
Daniel St. Hubert pleaded not guilty Wednesday in stabbing case
@highlight
St. Hubert is charged with second-degree murder and attempted murder
@highlight
"PJ" Avitto, 6, and Mikayla Capers, 7, were stabbed in an elevator, police say
@highlight
St. Hubert, 27, was released on parole on May 23, police say
@placeholder was treated for abdominal bleeding and a lacerated spleen, prosecutors said.