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: 'Highway Slingshot Shooter' Fires Ball Bearings at Windows Along San Jose's Guadalupe Freeway

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: 3 East Bay School Districts Go All-In on Student Vaccine Mandates

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

MORE NEWS: State-of-the-Art Water Purification Plant Helps Silicon Valley Battle Drought

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.