The Manitoba Court of Appeal has overturned a precedent-setting sentence that rejected the federal government's mandatory minimum for gun crimes.

Bryce McMillan pleaded guilty for shooting at a Carberry home in 2011.

He claimed two people, living in the home, bullied him.

The mandatory minimum is four years in prison, but the trial judge said the law violates the charter and instead sentenced McMillan to one year.

On Thursday, the appeal judge ruled the sentence sends the wrong impression and must be overturned, citing too much emphasis was placed on bullying.

It’s now replaced the one-year sentence with the four-year minimum.

But the ruling also stayed the remaining portion of that sentence. That means McMillan will not have to do any further time behind bars.