A man has admitted murdering an 89-year-old man at his home in Lancashire.
Albert Fielding was found dead in Limefield Court, Blackburn on 22 October last year.
A post-mortem examination found he had died from severe head injuries, caused by being repeatedly struck with a hammer.
Stuart Young, 23, of no fixed abode, pleaded guilty to murder at Preston Crown Court on Friday. He is due to be sentenced on 11 March.
Det Supt Neil Hunter, of Lancashire Police, said: "This was a vicious and unprovoked attack on a kind and caring elderly gentleman.
"This offence was even more despicable due to Albert's vulnerability due to his age and the fact that he was no match for a younger fitter man and unable to defend himself.
"The strong suggestion is that Albert was killed while he was sleeping which makes the offence even more cowardly and evil.
"There was plenty of evidence that Albert would provide others with shelter, warmth and food such was his kind nature which emphasises how appalling this attack was."