Two former computer programmers at Bernard L. Madoff’s firm were indicted Wednesday by a federal grand jury in Manhattan.

The programmers — Jerome O’Hara, 47, and George Perez, 44 — had been previously charged in the case. They are accused of developing and maintaining the computer programs used in Mr. Madoff’s fraudulent investment advisory business.

“O’Hara and Perez are alleged to have known that the special programs they developed contained fraudulent information and that they were used in connection with the S.E.C. and European accounting firm reviews” of Madoff’s business, according to a statement from the office of Preet Bharara, the United States attorney on the case.

Mr. O’Hara, of Malverne, N.Y., and Mr. Perez, of East Brunswick, N.J., were charged in a criminal complaint in November. They each face a maximum sentence of 30 years in prison. They are charged with conspiracy and falsifying records of a broker-dealer and of an investment adviser.