PORTLAND — Three couples from the Lewiston-Auburn area have been sentenced for federal firearm and drug violations in connection with home invasions.

Jason Jean, 36, of Lewiston, was sentenced Wednesday to 24 1/2 years in prison. He had pleaded guilty to conspiracy to possess with intent to distribute cocaine base and heroin, possession with intent to distribute clonazepam, alprazolam and oxycodone and using a firearm during the drug-trafficking conspiracy.

Ryan Thompson, 22, of Lewiston, was sentenced to 11 years and nine months of imprisonment. He also had pleaded guilty to conspiracy to possess with intent to distribute cocaine base and heroin, possession with intent to distribute clonazepam, alprazolam and oxycodone and using a firearm during the drug-trafficking conspiracy as well as being a felon in possession of a firearm.

Nicholas Malcolm, 24, of Lewiston, was sentenced to 10 years of imprisonment. He had pleaded guilty to conspiracy to possess with intent to distribute cocaine base and heroin, being a felon in possession of a firearm and discharging a firearm during the drug-trafficking conspiracy.

Midnight Blue, 22, of Lewiston, was sentenced to two years in prison. Blue had pleaded guilty to conspiracy to possess with intent to distribute cocaine base and heroin.

Elaine Desrosiers, 35, of Auburn, was sentenced to 1 year and seven months in prison. She had pleaded guilty to conspiracy to possess with intent to distribute cocaine base and heroin.

Victoria Pinkham, 22, was sentenced to one year in prison. She had pleaded guilty to conspiracy to possess with intent to distribute cocaine base and heroin.

The six are accused of planning a Lewiston home invasion in January 2011 to steal drugs. Malcolm, Thompson, Blue and Pinkham were unable to find drugs in the house but took some jewelry. Jean, Thompson, Blue and Desrosiers later invaded another home and took pills. Later that month, Jean, Desrosiers, Thompson and Blue planned a home invasion in Richmond that yielded pills.