BUENOS AIRES — Two Argentine judges whose controversial decision to reduce the sentence of a convicted child abuser provoked widespread anger here have had their resignations accepted, Argentina’s state news agency reported on Saturday.

The judges, Horacio Piombo, 72, and Benjamín Sal Llargués, reduced the sentence because they claimed that the 6-year-old victim, a boy, had already displayed homosexual tendencies. They were allowed to step down by Daniel Scioli, the governor of Buenos Aires Province, according to Télam, the news agency.

The revelation of the judges’ ruling infuriated Argentines, especially gay and human rights groups. The federal government’s cabinet chief said it was “one of the greatest barbarities seen in our country.” The decision by Judges Piombo and Sal Llargués to halve the abuser’s sentence was taken last year in the province’s criminal appeals court, but it only came to light recently.

The sentence of Mario Tolosa, the vice president of a sports club who several years ago had raped the boy, a junior soccer player, was cut from six years to a little more than three. Local news reports said Mr. Tolosa had already been released from prison.