NILES, Ohio (WKBN) — A Niles man received his sentence Tuesday after police say he broke into a house with a family inside.

James Long, 19, pleaded guilty to an aggravated trespassing charge, a first-degree misdemeanor, according to employees at Niles Municipal Court. He was sentenced to serve 180 days in jail, with credit for the three days he already served.

According to a report, around 12:30 a.m. Sunday, police were called to a home on Beaver Avenue in Niles for reports of a burglary in process. Upon arrival, they found a suspect — identified as Long — standing in the home’s enclosed front porch.

The report states that the home’s residents called police after one of the family’s children said that “someone was in the house.” By that time, Long had made his way from the back garage door into the house, through the hallway and through the home’s living room.

The father of the family told police that he threw Long down the stairs and then wrestled him onto the enclosed porch. The report states that Long then slammed his head through the window of the house’s door.

When police arrived at the scene, they ordered Long off of the porch by gunpoint and then arrested him.

According to the report, there were eight children in the house at the time of the break-in.

Long reportedly knew the victims.

Long was taken to the Trumbull County Jail on a charge of burglary. He entered the guilty plea during his arraignment Tuesday and was also ordered never to return to the victims’ home.

Chelsea Simeon contributed to this report.