SAN FRANCISCO (AP) — A teacher who came out as a transgender man at a Catholic high school in San Francisco has been allowed to keep his job by the order of the nuns that runs the school.

The San Francisco Chronicle reports that an order of the Sisters of Mercy announced its support for Gabriel Bodenheimer on Wednesday.

READ MORE: Barry Bonds Denied Entry To Baseball Hall Of Fame In Final Year On Ballot

The order’s leaders said after careful consideration, they decided that supporting the dignity of each person — regardless of race, religion, sexual orientation or gender identification — aligned with their values.

READ MORE: Air District Accuses Benicia Valero Refinery Of Excess Emissions, Seeks Abatement Order

Bodenheimer had been teaching English at Mercy High School for four years before he came out as transgender.

MORE NEWS: Man Falls Onto BART Tracks At San Bruno Station, Causing Delays

He said his students have responded positively to the change. The school’s board chairwoman says there have been no complaints from the school community.