BANGOR, Maine — The two New York men charged in connection with the Friday shooting on Center Street that left one man dead and another wounded will be held without bail, a judge ordered Tuesday.

Robert Hansley, 27, and Thomas Ferguson, 37, both of Brooklyn, New York made their first court appearances before Superior Court Justice William Anderson at the Penobscot Judicial Center on one count each of murder and elevated aggravated assault.

They were not asked to enter pleas because they have not yet been indicted by the Penobscot County grand jury. The grand jury next meets on Dec 30.

Anderson ordered that the affidavit be sealed until the men are arraigned after being indicted by the grand jury.

Police on Monday identified the man who died early Friday as Robert Mark Kennedy, 38, of Bangor.

Investigators have not released the identity of the second victim. He is being treated at Eastern Maine Medical Center, Sgt. Tim Cotton, spokesman for the Bangor police, said Monday.

An autopsy of Kennedy’s body was completed Sunday, but the medical examiner’s office declined to release any information about what it found.

Cotton said the investigation into what led to the shootings is ongoing. He declined to comment on whether investigators suspect the incident might be drug related.

In addition to informing the defendants of what they have been charged with, Anderson appointed Marvin Glazier and Kaylee Folster of Bangor to represent Hansley. Jeffrey Silverstein of Bangor was appointed to represent Ferguson.

Police originally went to 201 Center St. at 3:30 a.m. and were there throughout the day Friday. Police cleared the scene and took down the crime scene tape Monday morning, according to Cotton.

The building consists of a pair of two-story apartments facing the street, with several other apartments in an addition on the back. Knocks on the doors of those apartments over the weekend and Monday went unanswered.

City records show the duplex is owned by Jimmy Phan, who owns rental and business properties across the city. He purchased the building in 2002 from a Scarborough firm. Multiple attempts to reach Phan were unsuccessful.

Neighbors over the weekend expressed relief that arrests had been made in the case.

Kennedy’s homicide was the 19th in Maine this year, according to state police spokesman Stephen McCausland. It is the first homicide in Bangor since 2013, according to police.