On the night of Halloween 2011, Sydney hospital worker Brian Bradbury allegedly sent a text message while at work to his wife's mobile phone.
"How was the trick or treating my love," the message sent at 6.51pm stated.
The 52-year-old grandmother never read that message. Police allege she had been killed about two hours earlier by her husband of 32 years, before he left for work.
Mr Bradbury, 58, appeared in Parramatta Local Court on Thursday charged with the murder of his wife at their Oatlands home in Sydney's west on October 31, 2011.
The grandfather, who was charged in July, was supported by his children and his wife's family, who say police have made a mistake and arrested the wrong person.
"We believe eventually you are going to find out who was the right person who did this, and it's not Brian Bradbury," Mrs Bradbury's sister Suzanne Walker said outside court.
"I've known him since he was nine years old. If Lynette's family believe in him so strongly that's got to tell you something. Nobody is perfect but he's not a murderer."
Mr Bradbury told police he arrived home from work at 11.15pm that night and found his house had been broken into and his wife was in their bedroom badly beaten with her feet and hands bound.
In documents before Parramatta Local Court on Thursday, police allege that Mr Bradbury beat his wife to death with a hand weight covered in a towel, after the couple argued over his gambling addiction.
He then went to work at Westmead Hospital, where he attempted to call his wife and sent her two text messages. He had not sent her a text message for two months prior to that date, police will allege.
When he arrived home from work, police allege that Mr Bradbury "staged" a break-and-enter to make it look like intruders had killed Mrs Bradbury.
Documents state the relationship between the pair had been strained because of Mr Bradbury's gambling habit. The couple had previously slept in separate beds and at one stage had almost lost the family home due to his poker machine addiction.
Mr Bradbury allegedly told police he had been at home all day before he left for work on the day his wife was killed.
But the court heard that security footage shows him playing poker machines at Parramatta Leagues Club.
Mr Bradbury was granted bail on on Thursday. Magistrate Jennifer Betts said that while he faced "probably the worst charge on earth" there were "exceptional circumstances" in the case.
This included that a period of 19 months had passed between Mrs Bradbury's death and her husband being charged and that it would be a lengthy period of time before his trial.
After spending three weeks in custody, Mr Bradbury walked out of custody on Thursday night on $10,000 bail and was ordered to live with one of his children.
The case returns to court in October.