An 11-year-old boy in North Carolina struck an intruder in the back of the head with a machete to foil a home invasion on Friday, according to reports.

The boy, who was home alone, answered a knock on the front door and saw a woman standing there. Simultaneously, a man broke into the home through a window and used the homeowner's pellet gun to force the child into a bedroom closet.

HOME ALONE: POLICE SAY 11-YEAR-OLD HIT INTRUDER WITH MACHETE

The boy escaped the closet and grabbed a machete, using it to strike the man in the head.

He reportedly kicked the child in the stomach but the boy did not give up, swinging again at him but missing. The man again kicked the boy, and began to grab several items, including a television and a PlayStation, but fled the home without the electronics when he realized he was bleeding, according to a news release from the Orange County Sherriff's Office.

The woman and a second man provided the getaway vehicle for the three intruders and drove away.

Police responded to a 911 call after 11 a.m. when the break-in occurred, and alerted local hospitals to be on the lookout for someone with a head wound.

CLICK HERE FOR THE FOX NEWS APP

When 19-year-old Jataveon Dashawn Hall, checked into UNC Hospital in Hillsborough, authorities were alerted. He's due in court on Monday, facing charges of breaking and entering, second-degree kidnapping, interfering with emergency communications and assaulting on a child under 12 years old.

Additional charges are pending against Hall and the two other suspects.