A man accused of breaking into a 76-year-old woman's Perth home and raping her before police arrived told detectives he was like a "son" to her, but admitted at trial he didn't know her.
Mugahed Adam Eldouma, 39, allegedly got into the victim's Armadale house on a June afternoon last year through a window, leaving behind fingerprints, then snatched her mobile phone away as she called triple-zero for help.
The District Court of WA heard on Thursday he punched her in the head and body, then repeatedly sexually assaulted her, leaving her with injuries including teeth marks on her chest.
He allegedly ran into the backyard when he saw a police car arrive and was swiftly apprehended, telling officers he was her carer.
Eldouma repeated that claim in a video recorded interview with detectives that evening, saying he'd done a carer's course at TAFE and would visit her once a week or fortnight.
He insisted he'd known the woman for about two years after meeting her at a shopping centre and would sometimes stay overnight in the shed or on the verandah, even in winter.
"She's like my mum," Eldouma told detectives.
"She said 'you're welcome any time'. It's like a good friendship.
"I love and care for her."
When detectives told him that the woman said she'd never seen him before that day, Eldouma replied: "That's a lie."
"She does know me.
"I'm like a son of hers."
He also told detectives he believed she was aged 50 or 51, and had a completely different name.
In a document of signed admissions tendered in court, Eldouma made various concessions including he didn't know the victim, wasn't her carer and had her phone in his possession when arrested.
He claimed authorities were called after they got into an argument over her medication.
The woman has since died.
The trial continues.