Nikki Collingbourne, 26, was found dead at her flat in Ivel Court, Letchworth, Hertfordshire, in May.
Yvonne Caylor, 53, is on trial at Luton Crown Court where she denies murder.
The court was played a police video of an interview with Ms Collingbourne who was questioned after Ms Caylor had complained she had been assaulted.
Six months later, Ms Caylor, of Grove Road, Hitchin, is said to have disguised herself as a man before going to Ms Collingbourne's flat and killing her.
The prosecution alleges the motive for the murder goes back to 3 October 2015 when Ms Collingbourne evicted Ms Caylor from the flat in Ivel Court.
Ms Caylor claimed Ms Collingbourne had assaulted her and, while the younger woman was in the custody of Hertfordshire Police, it is alleged Ms Caylor burgled the flat.
No action was taken against Ms Collingbourne, but Ms Caylor was charged and was due to stand trial accused of burglary and attempting to pervert the course of justice.
The case was in a "warned list" at Cambridge Crown Court starting on 23 May, the day of the alleged murder.
In the police interview on 4 October 2015, Ms Collingbourne said Ms Caylor had been staying with her, but was due to leave. On 3 October she said there was a confrontation in which Ms Caylor threw her iPad with force, smashing it to the floor.
Ms Collingbourne told an officer: "I was trying to keep calm. It became worse and worse. She was pinning me against a wall saying 'I am going to...  kill you.'
"I took her stuff to the front door. She got a mop. She said, 'I am going to ram this down your throat'. It fell on the floor."
Ms Collingbourne denied to the officers in the interview striking out at Ms Caylor or grabbing her by the neck.
The case continues.

Newcastle University said the killing of its students Neil Dalton and Aidan Brunger, both 22, was a "huge shock".
Malaysian police said the men were killed at about 04:15 local time on Wednesday.
There had been an argument between a man and one victim before the killings, and four men have been arrested over the murders, police added.
Mr Dalton, from Ambergate, Belper in Derbyshire, and Mr Brunger from Hempstead, Gillingham in Kent, were in the final week of a six-week work placement at a hospital in Kuching, a city in one of the two Malaysian states on the island of Borneo.
In a statement, Malaysian police said the two victims had a drink in a tea shop, where one man rebuked them for being noisy.
"This gave rise to an argument," police said, between the man and one of the victims before they left the shop.
Police said four men then pursued the students in a car, before one man got out and attacked them with a knife.
The police added three suspects were arrested at about 06:00 local time and a knife was also found, and a fourth suspect was arrested at 16:45.
"The case is being investigated under Section 302 of the Penal Code which carries the mandatory death sentence upon conviction," the police statement said.
The area is said to be known for its popular nightlife among tourists.
Police said Mr Dalton and Mr Brunger had been due to complete their placement in Kuching on Friday.
Professor Tony Stevenson, acting vice-chancellor of Newcastle University, said: "We were informed this morning of the very sad news that two of our fourth year medical students working at a hospital in Kuching, Borneo, have been tragically killed.
"Neil Dalton and Aidan Brunger, both 22, were on a six-week work placement along with five other medical students to put the skills they had learnt during their time here at the university into practice.
"This has come as a huge shock to us all and our thoughts are with their families and friends at this very difficult time.
"Two of our members of staff are flying out to Kuching as soon as possible and we are working closely with the British High Commissioner to support the other students and to co-ordinate their return to the UK."
The Foreign Office said it was aware of the deaths of two Britons and was "providing consular assistance to their families at this difficult time".
A woman accused of murdering her half-sister with a casserole dish had previously threatened to ram a mop down her throat, a court has been told.
[NEXT_CONCEPT]
Two British medical students have been stabbed to death in Borneo, local police have said.