A drunk man was Tasered by police after arming himself with three knives at his family’s home.
Sean Richardson pleaded guilty to a charge of affray.
Kirklees Magistrates’ Court heard that the 40-year-old faces death if he continues to drink after suffering internal bleeding.
The Huddersfield court heard that the incident happened on September 7.
Richardson and his wife Julie had returned to Overthorpe Avenue in Dewsbury after attending a christening with their children.
After going out to fetch more alcohol Richardson came home at just before 10pm.
He punched a bedroom door while his wife was in the room, causing several holes.
She told him to leave and he fetched three knives from the kitchen and held them in his hands.
Prosecutor Vanessa Jones said Mrs Richardson called police.
She added: “He was stood in the doorway of the address holding a 10ins knife with a further knife tucked in his waistband.
“The officers red dotted him with the taser and told him to drop the knife.”
Richardson was handcuffed and police found a further knife down the back of his trousers.
Roger Clapham, prosecuting, said his client was inebriated and doesn’t know why he fetched the knives.
He added: “He was Tasered because he waved about on his feet because of the drink.
“The hospital has told him any more (drink) and he won’t live.
“His blood vessels burst and he was bleeding internally – there’s no chance of him drinking again.”
District Judge Michael Fanning sentenced Richardson to a 20-week jail term suspended for a year.
He must undergo six months of alcohol treatment and pay £85 costs and £80 victim surcharge.