A New York police detective was arrested on Tuesday on federal perjury charges after prosecutors concluded that he had fabricated evidence in a carjacking case.

The charges against Michael Foder, 41, who had been assigned to the detective squad in the 70th precinct in central Brooklyn, are the latest sign that perjury remains an ongoing problem within the New York Police Department. Last month another detective, Kevin Desormeau, was convicted in Queens of falsely testifying about having observed a drug deal after a jury found that the detective had made up the story to cover up a dubious arrest.

In the case on Tuesday, Detective Foder is accused of doctoring a photo lineup to persuade a judge that a victim had been able to identify two suspects in a carjacking. The charges are considered particularly troubling because they involve accusations that a detective tampered with witness identifications.

Erroneous identifications by witnesses have been a leading cause of wrongful convictions.

In the past decade, the New York Police Department has taken steps to try to prevent such misconduct. Among other requirements, detectives are supposed to follow a detailed set of instructions when conducting lineups. They cannot chat with witnesses while showing them photos or lineups, but instead should hew to a script intended to prevent the detectives from improperly influencing the result.