New York (CNN) -- A New York town clerk announced her resignation in a letter saying that she would be compromising her "moral conscience" if she signed marriage licenses between same-sex couples.
Laura Fotusky, a Republican from Barker, said her decision was based strongly on her religious convictions and obeying the law of God over the law of men.
"The Bible clearly teaches that God created marriage between male and female as a divine gift that preserves families and cultures," Fotusky wrote. "Since I love and follow Him, I cannot put my signature on something that is against God."
New York Gov. Andrew Cuomo said Tuesday that if government officials have issues enforcing laws, they should not be in a position to do so.
"The law is the law," Cuomo said on Tuesday. "When you enforce the laws of the state, you don't get to pick and choose which laws. You don't get to say 'I like this law, I'll enforce this law'; 'I don't like this law, I won't enforce this law.'"
Fotusky declined to give further comment to CNN, stating that she has "said enough."
Her resignation is effective on July 21, three days before the marriage law goes into effect on July 24.
New York became the sixth state to legalize same-sex marriage after New York's Republican-controlled legislature cleared the way for it on June 24. Massachusetts, Connecticut, Iowa, Vermont and New Hampshire also allow same-sex marriage, as does the District of Columbia.