MINNESOTA (WCCO/AP) – On Wednesday the Minnesota Supreme Court ruled that a state law requiring individuals to have a permit to carry a handgun in public is constitutional and does not violate the Second Amendment.

The ruling comes in the case of a man who was charged with carrying a pistol without a permit. Nathan Hatch was arrested in 2018 after Metropolitan Airport Commission police stopped to help him after his truck broke down. He told officers he had a gun in the back seat and did not have a permit, and officers found a loaded pistol.

READ MORE: Wisconsin Gov. Evers Calls GOP-Ordered Election Probe A '$700,000 Boondoggle'

Hatch was convicted of a gross misdemeanor. On appeal, he tried to strike down the state’s permit-to-carry statute, arguing it violated his right to bear arms. The Supreme Court disagreed.

“Considering the undisputed compelling governmental interest in ensuring public safety and the narrowly tailored provisions of the statute to achieve that interest, we conclude that the permit-to-carry statute withstands strict scrutiny,” the justices ruled. “We therefore hold that the permit-to-carry statute does not violate the Second Amendment to the United States Constitution.”

READ MORE: Deadly, Highly-Contagious Rabbit Disease Detected In Minnesota

The Supreme Court said that to survive strict scrutiny, a law must be justified by a compelling government interest and be narrowly tailored, meaning that it must achieve the government’s interest in the “least restrictive means.”

The Supreme Court found that the law explicitly says when a permit is required, and also allows for circumstances when a permit is not required, such as at home or when hunting.

The justices said it is not difficult to get a permit to carry in Minnesota, as long as certain criteria are met. The court found that the statute also leans in favor of the person applying for the permit, showing it’s easy for someone to exercise his or her Second Amendment rights.

MORE NEWS: Stimulus Check Latest: Is A Fourth Relief Payment Coming?

(© Copyright 2021 CBS Broadcasting Inc. All Rights Reserved. The Associated Press contributed to this report.)