Police are continuing to investigate the fatal shooting in Whaley Bridge.
Officers were called to reports of a burglary at a property in Eccles Road at around 1.20am on 1 May.
At the scene a man was found to have sustained fatal gunshot wounds. He has now been formally identified as Marcus Smith, 19, of Chapel-en-le-Frith.
A second man, who is in his teens, was found with a gunshot wound nearby in the same road. He remains in hospital, but his injuries are not thought to be life-threatening.
A man in his 50s has been arrested on suspicion of murder and attempted murder. He has now been bailed as investigations continue.
Three men who have been arrested in connection with the burglary have also now been bailed as investigations continue.
Officers are continuing to appeal for witnesses and information on the incident.

Tameside Hospital’s Women’s Health Unit set for transformation
Extra Time empowers older adults
Generous Glossop business owner spreads warmth this winter
Award-winning pub brings festive cheer to Glossop