TORONTO -- Police say a man has been charged with attempted murder after allegedly beating an elderly man with a crowbar in Whitby.

Durham regional police say the two men both rented rooms in the same home.

They say the accused entered the man's room on Saturday and allegedly attacked him with the crowbar.

Police say another resident of the home heard the commotion and "came to the rescue."

A Whitby man has been charged with attempted murder after attacking a fellow renter at a Whitby residence. https://t.co/8knngNejEt — Durham Regional Police (@DRPS) February 13, 2020

They say a 45-year-old man has been charged with attempted murder and aggravated assault.

He's also charged with weapons dangerous and threatening.