A Victorian man accused of murdering a woman he met through an online chatroom told police she "goaded" him into attacking her.
Adam Margolis has been charged with murdering Mai Yia Vang, 26, in Bendigo in February 2018.
In an interview recorded a week after Ms Vang's death, the accused man told police he was both an "exceptionally intelligent" and "ethical" person.
"She goaded me into doing what I did," Margolis said in the interview, which was played at the Victorian Supreme Court on Tuesday.
"She intentionally abused flashbacks with the purpose of making me attack her. I loved her very deeply and it was beyond heartbreaking."
When police asked the Bendigo man if he took Ms Vang's life, Margolis said that wasn't an "appropriate way of phrasing it".
"If that is the starting point ... it's a very negative starting point and there's not proper context," he responded.
"I'm not the person you're obviously trying to make me out to be. She drew me into a flashback intentionally, knowing full well what would happen."
Ms Vang met Margolis through an online chatroom called Omegle.
The former chemical engineering student travelled from Wallan, where she had been staying with her sister Pa Houa Vang, to meet him in person.
She later agreed to move in with him.
Margolis became angered after discovering Ms Vang remained in contact with an ex-boyfriend, who has testified that she was a quiet, reserved and intelligent person with a good sense of humour.
The court previously heard Margolis sent a 12-page email to a group of former acquaintances outlining he had killed a woman and planned to take his own life.
Margolis asked them to look after his two cats following his death, detailing that money had been left in his will for this purpose.
He also pretended to be Ms Vang on Facebook and messaged her sister to say she was sick and could not talk.
Margolis' barrister has said the trial hinged on whether the jury could find that Margolis intentionally killed Ms Vang.
The trial continues on Wednesday.