BALTIMORE — Two Baltimore police detectives were convicted of robbery, racketeering and conspiracy Monday in a trial that is part of a federal investigation into corruption among rogue members of the city’s police force.

The detectives, Daniel Hersl and Marcus Taylor, were shackled and led out of Federal District Court after the verdicts were read. Some of Mr. Hersl’s relatives burst into tears, while one of his victims called out: “Justice.”

The two detectives were each convicted of racketeering conspiracy, racketeering and robbery under the federal Hobbs Act, which prohibits interference with interstate commerce. They face up to 20 years in prison on each count, for a total of 60 years.

The acting United States attorney for the District of Maryland, Stephen Schenning, said he hoped the police corruption case would “begin a long difficult process of examining how” the Baltimore force polices its own.