The court heard that James Allen told a friend that he was dying of cancer on the night of one of the murders.
A friend of James Allen said that he took pity on him, and offered him somewhere to stay the night.
Allen is accused of murdering a pensioner in Middlesbrough last April, as well as a woman in Whitby.
The trial continues.
More top news
Some people our region have been camped out for 15 days hoping for a glimpse of the newest addition to the Royal family.
Benitez has praised Newcastle's winning mentality after seeing them effectively secure their Premier League status with five games to go.
Kerrie brings you Sunday night's forecast