A woman's dog has come to her rescue while an intruder allegedly tried to strangle her in her bedroom in Sydney's northwest.
The 60-year-old woman was woken by a man in her North Parramatta home early on Sunday morning, police say.
Peni Naiserelagi, 34, allegedly assaulted her and attempted to strangle her before the woman's dog ran into the room and attacked him.
Naiserelagi fled and the woman hid in the bathroom.
Police arrested the 34-year-old man, who is known to the woman, in Parramatta later on Sunday and charged him with breaking and entering, and assault with intent to murder.
Naiserelagi's matter was briefly mentioned at Parramatta Local Court on Monday where he did not apply for bail and it was formally refused.
He is due to appear at the same court on October 15.