A jury found a male prison guard guilty of bribery and another guilty of witness tampering in a sex-for-contraband scheme that ended in a deadly shootout at a federal prison for women.

The federal jury convicted Gregory Dixon of three counts of bribery and Alan Moore of witness tampering on Friday. The jury also found both guilty of conspiring to accept illegal gratuities and Moore guilty of accepting one.

Three other guards previously had pleaded guilty to conspiracy charges.

A sixth guard, Ralph Hill, was killed in the June 21 gunfight he started at Tallahassee Correctional Institution when federal agents came to arrest the guards, officials said.

Visit FOXNews.com's Crime Center for complete coverage.

Justice Department agent William "Buddy" Sentner also was killed, and a prison officer assisting in the arrests was wounded.

U.S. District Judge Robert Hinkle set sentencing for Jan. 10. Dixon could be sentenced to up to 47 years in prison, while Moore could get up to 14 years.

Hinkle threw out the most serious charges of conspiracy to commit extortion and mail fraud, citing insufficient evidence, and the jury acquitted both men of conspiracy to commit bribery.

Both defendants declined to comment. Lawyers for both men said they would challenge the convictions.

More than a dozen current and former inmates testified against the guards. Some said they traded sex for items such as cigarettes, cigars, gum and cosmetics.

Visit FOXNews.com's Crime Center for complete coverage.