BUCHAREST, Romania — A Romanian bishop who was seen on video engaging in sexual acts with a male student resigned Friday, the Romanian Orthodox Church said.

The patriarchy said the Bishop of Husi, Corneliu Barladeanu, 51, had decided to step down “for the peace and good of the church.”

He maintains his innocence and has not made any public comment.

The statement was issued at the end of a two-day Holy Synod where a sex scandal was discussed for the first time in its 92-year history.

There has been public furor in Romania over Barladeanu and another scandal involving a priest who had sex with a male student as believers are demanding more accountability from the church.

Outrage was heightened as the two cases involved homosexual acts. The church, however, insisted the bishop would have been similarly chastised if the alleged sexual misdemeanors involved a woman.

Barladeanu will no longer hold an official position, but he will remain a monk. Orthodox bishops are monks.

The statement said the resignation was the best outcome, because an investigation would last months and would “prolong the situation of uncertainty of the bishopry of Husi” in northeast Romania.