CHARLESTON, W.Va. — The jury in a federal trial involving a doctor accused of selling drugs outside of his medical practice ended Tuesday in a mistrial.

Judge David Faber declared a mistrial in the trial of Dr. Muhammed Nasher. He was on trial for the past three weeks after being accused of selling pain medication from his Neurology & Pain Center from July 2013 to February 2015.

Nasher was accused of providing drugs such as hydrocodone, oxycodone and methadone to individuals who did not need them. Two people died after taking the drugs. Nasher denied the charges.

U.S. Attorney Mike Stuart tweeted the government will retry the case.

“Dr. Nasher is a good doctor who played by the rules,” said Michael Hissam, Nasher’s attorney. “That’s what we demonstrated to the jury. Obviously, the jury wasn’t able to reach a unanimous agreement on that, but we intend to show that again in a retrial.”