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.

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.

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

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.