LONDONDERRY, N.H. (CBS) – A sex offender was arrested this weekend after police say he broke into a Londonderry home and beat a man inside.

A caller told 911 that he heard a loud bang while he and his wife were sleeping at about 12:30 a.m. Sunday. When he went to investigate, he found that a strange man had kicked in the door.

READ MORE: Phil Saviano, Clergy Sex Abuse Survivor And Whistleblower, Dies At 69

They had a brief conversation before the intruder attacked and tried to steal a jacket, according to police.

Police say the intruder had made it past a closed eight-foot-high fence and many signs that read “beware of dogs that bite.”

READ MORE: Vaccine Is Merriam-Webster's Word Of The Year For 2021

The homeowner said the man standing in his kitchen was inebriated and thought he was at a relative’s house. He had come from a party across the street

[graphiq id=”jSEjPFBi1Kt” title=”Violent Crime Rates in the 10 Largest Cities in New Hampshire” width=”600″ height=”540″ url=”https://w.graphiq.com/w/jSEjPFBi1Kt” link=”https://www.graphiq.com/vlp/jSEjPFBi1Kt” link_text=”FindTheHome | Graphiq” ]

Responding officers found William O’Reilly, 26, in the driveway. They soon learned he’s a sex offender who lives in Manchester.

MORE NEWS: Coronavirus In Massachusetts: Today's Developments

O’Reilly is charged with burglary, simple assault and possession of a controlled drug. He was being held on $5,000 bail.