Police alleged Jed Coates was shot dead in Colyton after a pub fight on the State of Origin night.
Matthew James Perry, 21, was accused of fatally shooting Mr Coates, 18, in the neck on Wednesday night after they'd both spent the evening watching NSW wrap up the Origin series with separate groups of friends at the Colyton Hotel.
Less than an hour after the full time siren, Coates was dead.
Neighbours living in Nevada Avenue, Colyton, reported hearing an argument in the street not long before police and paramedics arrived about 11pm. They tried to revive the young man, who reportedly worked as a carpenter.
He was taken to Westmead Hospital but died soon after.
Police arrested Perry, a panel beater, at his home on the same street just after 3am.
He was charged with murder and refused bail at Mount Druitt Local Court on Thursday morning.
Court documents say Mr Coates encountered Perry, who went to the same high school as him, at the Colyton Hotel while drinking and watching the Origin match with a mate.
They were kicked out of the pub after allegedly getting into a fight with Perry and his friends.
When Perry took a taxi home shortly afterwards, Mr Coates and his friend were waiting for him at the end of his street with Mr Coates allegedly armed with a shovel.
According to the documents, Mr Coates yelled "shoot me, shoot me", before Perry shot him with a rifle just below the right side of his neck.
He then ran away after failing to find the cartridge in the dark.