A federal judge in Washington on Wednesday dismissed in large part a suit against former Attorney General Alberto Gonzales and other ex-Justice Department officials that alleged they improperly vetted candidates for the department’s summer intern and honors programs.

Judge John Bates of the U.S. District Court for the District of Columbia said only three of the eight plaintiffs — all of them unsuccessful applicants for employment with the Justice Department — have standing to pursue claims against the department. The five dismissed plaintiffs never reached the step in the hiring process where the violations allegedly occurred, Bates said. .