MADISON, Wis. -

A Fort Atkinson resident was sentenced to federal prison for running a sophisticated cocaine distribution business while armed, according to a Wisconsin Department of Justice release.

Jorge Gamez-Nieto, 41, a citizen of Mexico, was sentenced to a mandatory minimum 10-year prison term for possessing with intent to distribute more than 500 grams of cocaine and possessing a loaded handgun in furtherance of that offense, officials said. He pleaded guilty to the charges on May 15.

When police executed a search warrant at Gamez-Nieto’s Fort Atkinson home on Jan. 8, they found him asleep with a loaded handgun under his pillow, according to the release.

Police also found and seized $10,524, drug ledgers, 794 grams of cocaine, drug paraphernalia, hundreds of rounds of ammunition, and three long guns.

According to the release, Gamez-Nieto had surveillance cameras on the inside and outside of his home, which led the judge to determine his drug business was sophisticated.

He will be deported upon completion of his sentence, officials said.