PHOTO: WRAL
Now playing
00:42
Suspect escapes from hospital with machete wounds
FBI Director Christopher Wray testifies before the Senate Judiciary Committee on the January 6th insurrection, in the Hart Senate Office Building on Capitol Hill in Washington, DC on March 2, 2021. (Photo by MANDEL NGAN / POOL / AFP) (Photo by MANDEL NGAN/POOL/AFP via Getty Images)
PHOTO: MANDEL NGAN/POOL/AFP via Getty Images
FBI Director Christopher Wray testifies before the Senate Judiciary Committee on the January 6th insurrection, in the Hart Senate Office Building on Capitol Hill in Washington, DC on March 2, 2021. (Photo by MANDEL NGAN / POOL / AFP) (Photo by MANDEL NGAN/POOL/AFP via Getty Images)
Now playing
02:55
Watch FBI director debunk conspiracy theories pushed by Trump supporters
WASHINGTON, DC - FEBRUARY 10: Neera Tanden, nominee for Director of the Office of Management and Budget (OMB), testifies at her confirmation hearing before the Senate Budget Committee on February 10, 2021 at the U.S. Capitol in Washington, DC. Tanden helped found the Center for American Progress, a policy research and advocacy organization and has held senior advisory positions in Democratic politics since the Clinton administration. (Photo by Anna Moneymaker-Pool/Getty Images)
PHOTO: Anna Moneymaker-Pool/Getty Images
WASHINGTON, DC - FEBRUARY 10: Neera Tanden, nominee for Director of the Office of Management and Budget (OMB), testifies at her confirmation hearing before the Senate Budget Committee on February 10, 2021 at the U.S. Capitol in Washington, DC. Tanden helped found the Center for American Progress, a policy research and advocacy organization and has held senior advisory positions in Democratic politics since the Clinton administration. (Photo by Anna Moneymaker-Pool/Getty Images)
Now playing
01:33
Neera Tanden releases statement on pulling her nomination
PHOTO: KCAL/KCBS
Now playing
01:41
Multiple people killed in crash after SUV and semitruck collide
nigeria kidnapped schoolgirls released Busari pkg intl ldn vpx_00000423.png
nigeria kidnapped schoolgirls released Busari pkg intl ldn vpx_00000423.png
Now playing
02:09
Tears of joy and relief as 279 Nigerian schoolgirls return home
New satellite images taken by Maxar show that North Korea sometime in the past year built a structure that may be intended to obscure entrances to an underground facility where nuclear weapons or nuclear weapons components are stored.
PHOTO: Courtesy Maxar
New satellite images taken by Maxar show that North Korea sometime in the past year built a structure that may be intended to obscure entrances to an underground facility where nuclear weapons or nuclear weapons components are stored.
Now playing
01:47
See images US intelligence claims is a secret weapons site
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
PHOTO: Jeenah Moon/Getty Images
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
Now playing
02:29
NYT: Third woman comes forward against Gov. Andrew Cuomo
PHOTO: Courtesy Penguin Random House
Now playing
01:00
These 6 Dr. Seuss books won't be published anymore
John King Magic Wall 0301
PHOTO: CNN
John King Magic Wall 0301
Now playing
03:00
US coronavirus numbers coming down, but not enough
FILE - In this Jan. 29, 2011 file photo, Saudi journalist Jamal Khashoggi speaks on his cellphone at the World Economic Forum in Davos, Switzerland. Saud Al-Mojeb, Saudi Arabia's top prosecutor, is recommending the death penalty for five suspects charged with ordering and carrying out the killing of Saudi writer Jamal Khashoggi. Al-Mojeb told a press conference in Riyadh Thursday, Nov. 15, 2018,  that Khashoggi's killers had been planning the operation since September 29, three days before he was killed inside the kingdom's consulate in Istanbul. (AP Photo/Virginia Mayo, File)
PHOTO: Virginia Mayo/AP
FILE - In this Jan. 29, 2011 file photo, Saudi journalist Jamal Khashoggi speaks on his cellphone at the World Economic Forum in Davos, Switzerland. Saud Al-Mojeb, Saudi Arabia's top prosecutor, is recommending the death penalty for five suspects charged with ordering and carrying out the killing of Saudi writer Jamal Khashoggi. Al-Mojeb told a press conference in Riyadh Thursday, Nov. 15, 2018, that Khashoggi's killers had been planning the operation since September 29, three days before he was killed inside the kingdom's consulate in Istanbul. (AP Photo/Virginia Mayo, File)
Now playing
02:52
3 names mysteriously removed from Khashoggi Intel report
Protesters take cover behind homemade shields as tear gas is fired during a demonstration against the military coup in Yangon on March 1, 2021. (Photo by STR / AFP) (Photo by STR/AFP via Getty Images)
PHOTO: STR/AFP/AFP via Getty Images
Protesters take cover behind homemade shields as tear gas is fired during a demonstration against the military coup in Yangon on March 1, 2021. (Photo by STR / AFP) (Photo by STR/AFP via Getty Images)
Now playing
02:16
Footage shows tear gas, flash bangs used on protesters in Myanmar
New York Gov. Andrew Cuomo speaks during a news conference at a COVID-19 vaccination site in the Brooklyn borough of New York, Monday, Feb. 22, 2021. (AP Photo/Seth Wenig, Pool)
PHOTO: Seth Wenig/Pool/AP
New York Gov. Andrew Cuomo speaks during a news conference at a COVID-19 vaccination site in the Brooklyn borough of New York, Monday, Feb. 22, 2021. (AP Photo/Seth Wenig, Pool)
Now playing
01:12
Gov. Andrew Cuomo responds to allegations of sexual harassment
 Psaki biden White House Khashoggi Saudi Arabia sotu bash vpx _00011629.png
PHOTO: CNN
Psaki biden White House Khashoggi Saudi Arabia sotu bash vpx _00011629.png
Now playing
03:42
Bash to Psaki: Why hasn't Saudi Arabia been held accountable for murder of Khashoggi?
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
PHOTO: Jeenah Moon/Getty Images
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
Now playing
04:04
NYT: Second former aide accuses Gov. Andrew Cuomo of sexual harassment
PHOTO: CNN Weather
Now playing
02:23
Over 25 million people under threat for severe storms and flash flooding
House Speaker Nancy Pelosi
PHOTO: House TV
House Speaker Nancy Pelosi
Now playing
02:52
House passes Biden's $1.9 trillion Covid-19 relief package
Jeremy Lin
PHOTO: Getty Images
Jeremy Lin
Now playing
03:40
Ex-NBA star Jeremy Lin says he's been called 'coronavirus' on the court
(CNN) —  

This wasn’t the first time 11-year-old Braydon Smith’s home was broken into.

But this time around, he was prepared.

Braydon single-handedly defeated a suspected home intruder last week after hitting the 19-year-old trespasser on the head with a machete that was hanging on his wall.

“It went by really fast and I knew that I didn’t have any time to think about what I was going to do,” he told CNN affiliate WTVD.

So as soon as he had the chance, he grabbed the large weapon nearby and struck him.

Braydon Smith
PHOTO: Kaitlin Jonson
Braydon Smith

The family and community are “very lucky this event did not have a tragic ending for the child,” Orange County Sheriff Charles Blackwood said in a statement.

“This is very tough kid who kept his wits about him,” he said.

The frightening encounter

The young boy was home alone Friday morning in Mebane, North Carolina, when a group of intruders arrived, his mother Kaitlin Johnson told WTVD.

Smith was on the phone with his mother as a car pulled into his driveway. One man broke through a window, another woman knocked on the door and later yelled that nobody was home, Johnson said. Smith told authorities another man was waiting in the vehicle.

The man who came in through the window – Jataveon Dashawn Hall – grabbed a pellet gun and forced Braydon into a closet.

“I knew that it wasn’t loaded so I just sat down and got in my closet like he told me to,” Braydon told the affiliate. “Then he went into the living room to grab my phone to make sure I didn’t call 911 or anything.”

When the intruder came back, Braydon grabbed the machete that was on his wall and hit him in the back of the head.

After the intruder was hurt, he kicked Braydon in the stomach and the side of the head before grabbing a PlayStation and a television, according to WTVD.

But bleeding heavily, he soon dropped the electronics and fled with the rest of the suspects.

’Have your kids prepared for anything’

Braydon wasn’t afraid to pick up a machete. He normally uses it to chop down trees, the affiliate reported.

But he had also been taught by his dad how to defend himself, after burglars broke into their home years ago, according to WTVD.

“If they come in the door, you let them have it,” his father, Christopher Smith, says.

Braydon, who is also a baseball player, says parents should make sure their children know how to act.

“Always have your kids prepared for anything,” he said.

His message to the intruder

Hall was arrested late Sunday at his mother’s apartment, after escaping the hospital he was being treated at wearing only a gown and socks.

Jataveon Dashawn Hall
PHOTO: WRAL
Jataveon Dashawn Hall

He is facing charges of breaking and entering, second-degree kidnapping, interfering with emergency communications and assault on a child younger than 12, according to the Orange County Sheriff’s Office.

Braydon has a simple message for the intruder: he shouldn’t have done it.

“You’re better off to get a job than breaking into other peoples’ house,” the boy said.

CNN’s Artemis Moshtaghian, Amir Vera, Harmeet Kaur and Ry Sanchez contributed to this report.