This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

WENTWORTH, N.C. — Two North Carolina magistrates have resigned, saying marrying a same-sex couple violates their religious beliefs.

Both resignations come one day after North Carolina magistrates were ordered to perform civil marriages for same-sex couples or face suspension or dismissal.

According to the Winston-Salem Journal, Rockingham County Magistrate John Kallam Jr. sent a letter to Chief District Court Judge Fred Wilkins on Thursday saying when he took his oath of office, he didn’t take it with the understanding that he would be required to marry same-sex couples.

Kallam wrote that marrying gay couples “would desecrate a holy Institution established by God Himself.” His last day will be Oct. 31.

Now, a second magistrate is also choosing to resign over the issue, according to WTVD. Swain County magistrate Gilbert Breedlove reportedly said that marrying gay and lesbian couples violates his religious beliefs.

His last day on the job is Monday.