The incident referred to here occurred in the Beit Midrash Ha-godol of New York on Rosh Hashana. The rabbi is Abraham Joseph Ash. He was acquitted.
(The picture of Rabbi Ash is from Dr. Yitzchok Levine's Rabbi Abraham Joseph Ash (1813-1887) from his Glimpses Into American Jewish History series published in the Jewish Press. It originally appeared on pg. 20 of Eisenstein's Otzar Zichronosai. Also see JD Eisenstein's History of the First Russian-American Jewish Congregation. The Beth Hamedrosh Hagodol here.)