A Portland man was found guilty in federal court Thursday of conspiracy to distribute and possession with intent to distribute cocaine and crack cocaine.

Mustafa Hassan, 34, faces between five and 40 years in prison and a fine of up to $5 million when he is sentenced at a later date.

He was convicted following a jury trial this week in U.S. District Court in Portland.

According to Acting U.S. Attorney Richard W. Murphy, Hassan, Nelson Calderon and others were involved in a conspiracy to sell cocaine and crack in southern Maine.

Hassan and Calderon were arrested in March 2016 while making a drug deal. A search of Calderon’s home turned up about 160 grams of crack and about 460 grams of cocaine, Murphy said in a news release Friday.

Calderon pleaded guilty in November to a charge of conspiring to distribute drugs and awaits sentencing.