A five-year-old boy has been left "terrorised" by an armed gang who broke into his home demanding cash.
The youngster was playing in the kitchen with his mum's partner when the raid unfolded, the Manchester Evening News reports.
The pair went upstairs and barricaded themselves in their bathroom but the thugs managed to force open the door.
They then dragged the man into the bedroom and forced him to give up a stash of cash before fleeing the property.
Charlie Wallbank, then 17, was one of the men who stormed the property in Bury.
The gang, armed with a hammer and a machete, left with £500 and a pair of Alexander McQueen trainers worth £380.
The young boy has been left traumatised by his ordeal, Minshull Street Crown Court heard.
Wallbank, from Blackley, Manchester, was caught after his blood was discovered in the house. He had used a hammer to smash a window.
He has now been jailed for five years and eight months.
He was with at least two others who forced their way into the property in the town's Dicky Bird estate, on February 17 last year.
The boy's mother was out at the time, and her partner was playing in the kitchen with the child and a friend, when they heard a smash and saw a hammer come through a glass panel of the kitchen door.
He picked up the child and ran upstairs, barricading themselves in the bathroom.
But the intruders managed to force the door open, at about 9.45pm.
They saw two men both wearing balaclavas, with one shouting "what have you got?" and "give us the money".
"There's a kid in here, what do you want?" the man replied.
One burglar was holding a hammer, which he swung at the friend, hitting him to the side of his head.
The other had a machete, as demands for cash continued.
After telling him there was some money in a bedroom drawer, one intruder took hold of the man and dragged him into the room.
He was pushed into some drawers, as the burglars fled with £500.
Shortly after he called his partner, "shouting and screaming" about the ordeal.
Crime scene officers took a swab of blood found in the house, which matched Wallbank's DNA.
No-one was physically hurt, but the victims including the young boy were left traumatised.
Get all the latest news sent to your inbox. Sign up for the free Mirror newsletter
"The child who had witnessed all of this was clearly distressed, terrified," Judge John Potter said.
Wallbank, of Wilson Road, Blackley, admitted aggravated burglary.
He said he was homeless at the time, and had built up a drug debt which he could start to clear if he took part in the crime.
Wallbank, now 19, said he didn't know a child was in the house before he broke in.
His barrister Mark Friend said Wallbank is remorseful, has suffered from ADHD as a child and had a "chaotic" upbringing.