YPSILANTI, Mich. (AP) — A Michigan mayor resigned Tuesday, a week after she said she supported the appointment of a human relations commissioner only because she would be “crucified” if she voted against a Black person.

“I am deeply sorry to have my service end on this note and in this way,” Beth Bashert, who was mayor of Ypsilanti, said on Facebook.

“Sadly, as a result of my actions, there is healing to do to ensure that all residents, including Black, Indigenous, and people of color, enjoy full equity in Ypsilanti,” she said.

The controversy began last week when the city council was voting on the reappointment of Ka’Ron Gaines to a commission that advises the council on eliminating prejudice and discrimination.

Gaines’ inconsistent attendance record was raised by some council members. Bashert, who is white, voted in favor of his appointment but the others voted no, including three who are Black.

“Since I will be crucified if I vote against any Black person on any commission, I’m going to vote ‘yes,’” Bashert said at the time.

Bashert subsequently apologized and said she was “deeply ashamed and saddened” by her remarks.

Ypsilanti, 35 miles (55 kilometers) west of Detroit, is the home of Eastern Michigan University.