BALTIMORE (AP) — A federal appeals court has upheld the robbery, racketeering and conspiracy convictions of two Baltimore detectives who were members of a corrupt police unit.

On Tuesday, a three-judge panel of the 4th U.S. Circuit Court of Appeals affirmed the convictions of Daniel Hersl and Marcus Taylor.

READ MORE: Maryland Weather: Warm & Breezy Friday, Alert Day On Saturday

Both detectives were members of the once-lauded Gun Trace Task Force.

Hersl and Taylor were each sentenced to 18 years in prison after being convicted during a 2018 trial.

READ MORE: Man, 41, Charged With Attempted Murder In April Shooting, Baltimore Police Say

Four former police colleagues testified that task force members conducted illegal searches and stole money, drugs and other items while acting as police officers.

The 4th Circuit panel rejected their arguments that there wasn’t enough evidence to convict them and that the court abused its discretion when it denied various pre-trial motions.

MORE NEWS: Woman, 29, Wounded In Southern Baltimore Shooting, Police Say

(© Copyright 2019 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)