House invasion suspect Jataveon Dashawn Hall, 19, was arrested around 2.30pm on Sunday

A North Carolina home invasion suspect is finally in custody after being on the run for two days in connection to a break-in where he was fought off by an 11-year-old boy with a machete.

Jataveon Dashawn Hall, 19, was taken into Burlington Police custody on Sunday just before 2.30pm.

Hall allegedly broke into a home in Mebane and tried to steal electronics along with two accomplices on Friday.

He was thwarted by 11-year-old Braydon Smith, who was home alone. Smith hit Hall in the head with a machete, causing him to bleed and flee the home.

Later on Friday Hall arrived to the emergency department at the UNC Hospital in Hillsborough for treatment for his head wounds and was transferred to UNC-Chapel Hill hospital. There was an arrest warrant out for him for the home invasion at the time.

After receiving treatment, Hall fled the hospital on Friday evening.

Surveillance footage at the hospital also shows him leaving still in his hospital gown and holding what appears to be a cup of water around 8pm.

Hall broke into a home in Mebane and tried to steal the electronics inside along with two accomplices on Friday. He was thwarted by 11-year-old Braydon Smith (above) in the home who hit him in the head with a machete, causing Hall to bleed and flee the home

Hall and two accomplices targeted this home in Mebane, North Carolina

UNC Health Care says Hall was not under guard while hospitalized.

He's facing charges including breaking and entering, kidnapping, assault on a child younger than 12 and interfering with emergency communications.

Orange County authorities said the hospital neglected to alert police that Hall was discharged, even though authorities provided area hospital with a description of the suspect and Hall was immediately connected to the case upon walking in.

'When Hall left the hospital Friday evening against medical advice, we certainly should have been notified,' Orange County Chief Deputy Jamison Sykes said in a statement. 'But most concerning of all is that hospital police did not even know Hall had left the premises almost 10 hours prior. Indeed, Hall's absence was only discovered when we placed a phone call to them.'

'This patient was admitted to the ED, but was in the legal custody of the Orange County Sheriff's Department which did not place an officer with him,' UNC Health are said in a statement. 'In similar situations, hospital staff will often alert law enforcement personnel when a suspect patient is discharged, but they remain the legal responsibility of law enforcement.'

'It is the responsibility of law enforcement to closely monitor the status of suspects in their custody while those patients are receiving medical treatment,' the statement added.

In Friday's break-in a woman rang the doorbell of a Mebane home around 11am, as Hall broke in through the window of the home and another man waited by a car in front of the home .

Young Braydon Smith, described by the sheriff's office as a 'star baseball player', was home alone at the time.

Hall entered the home grabbed a pellet gun inside the home and forced the boy into a bedroom closet.

'When he came in the room, he pointed the gun at me and he told me to sit down on the ground and get in my closet. And I did that,' Smith said to CBS17.

Instead of staying put, the boy grabbed a machete and struck Hall in the head.

'He found my phone on the counter and he took the phone but he dropped it, and that’s when I picked up my machete and hit him in the back of the head,' Smith said.

On Friday Hall arrived to the emergency department at the UNC Hospital in Hillsborough for treatment for his head wounds and was transferred to UNC-Chapel Hill hospital (above). There was an arrest warrant out for him for the home invasion at the time

Hall kicked the boy in the stomach and the side of the head before grabbing a PlayStation and TV. When he realized he was bleeding from the head he dropped the electronics and fled, according to WRAL.

'And if I didn’t do anything about it, he could’ve taken me with him. He could have done anything,' Smith added.

'This is a very tough kid who kept his wits about him,' the Orange County Sheriff Charles Blackwood said.

'At the same time, I want to reflect that this youngster, his family and indeed this community, are very lucky this event did not have a tragic ending for the child,' he added.

Anyone with information on this crime, or any other crime are urged to contact the OCSO at (919) 245-2900 or call 911 immediately