Justin McLeod of Regina pleaded guilty to a number of charges resulting from a Moose Jaw Police Service investigation last November.
McLeod appeared in Moose Jaw provincial court Wednesday, where he entered his plea and received a sentence from Judge Douglas Kovatch.
On Nov. 27, 2013, police executed a search warrant on a building on the zero block of Manitoba Street East identified in provincial court Wednesday as Capone's Hideaway motel.
As a result of the search and subsequent investigation, police seized a total of 44.6 grams of cocaine packaged in a manner indicative of the intent to sell.
Police also seized $1,075 hidden on McLeod's person, a quantity of Schedule III drug pills, and a prohibited weapon.
McLeod was arrested and charged Nov. 29 with several counts, including possession of cocaine with the purpose of trafficking and possession of a prohibited weapon.
On Wednesday, he was sentenced to two years in a federal penitentiary for his offences.
In addition, all items seized by police are forfeit, McLeod will have to surrender a sample of his DNA, and he has been given a lifetime firearm ban.