Police allege a Melbourne woman was shot in the stomach by her boyfriend after she discovered he had tried to seduce her friend.
Kara Doyle, 24, died in hospital after being shot in the stomach at a unit on Military Road in Avondale Heights on April 17.
Details of the police case against Mehmet Torun, 25, emerged as a second man charged over the fatal shooting applied for bail in the Melbourne Magistrates Court.
Detective Senior Constable Elyse Douglas told the court Torun was a "hot tempered" man and had become enraged when he realised Ms Doyle discovered he had made a pass at another woman.
The court heard Torun asked Ms Doyle's friend to take part in "sex antics" but she refused and told Ms Doyle.
Detective Douglas alleged the next day, Torun turned his unit upside down looking for a sawn-off shotgun and bullets, and threatened to kill both women.
The court heard the couple argued throughout the day before Torun allegedly shot Ms Doyle in the stomach around 9.30pm.
The 24-year-old was then driven to a nearby petrol station and later died in hospital.
The charges against Torun were then upgraded to murder.
Kirsten Smith, 21, from Fitzroy and Baki Unlu, 20, from Lalor, are charged with being accessories to murder.
The bail application heard Unlu lived at the unit with Torun, where police allege drugs and other criminal activities took place
Police alleged he helped clean up after the shooting, hid the gun in the tyre well of a car and tried to concoct a story for police.
Unlu's bail was not opposed and he will to be released from custody on a $10,000 surety and strict bail conditions, including a curfew and daily reporting to police.
Torun will face court in July.