COVINGTON, Ky. –– A local elected official in a small Kentucky county testified Monday she could not issue marriage licenses to same-sex couples because signing the document would signal her approval of a union that violates her religious beliefs.

Rowan County Clerk Kim Davis stopped issuing all marriage licenses June 27, one day after the U.S. Supreme Court legalized same-sex marriages nationwide. Davis testified that she prayed and fasted for months before reaching the decision.

The American Civil Liberties Union sued her on behalf of two gay couples and two straight couples.

Democratic Gov. Steve Beshear instructed county clerks to begin issuing marriage licenses to same-sex couples immediately. At least two clerks refused. Clerks are elected officials. They cannot be removed from office unless impeached by the state legislature. Impeachment appears unlikely, given the political climate in the state capital.

The couples have asked U.S. District Judge David Bunning to order Davis to issue the marriage licenses. Bunning, who did not rule after the Monday hearing, could order Davis to issue licenses, and then fine her or put her in jail if she refuses. But he could not remove her from office.

Davis said Monday she is a member of a local Apostolic church, which is part of the Christian faith. She said she believes the Bible is “God’s holy word” and that it defines marriage as strictly between one man and one woman.

Kentucky law requires the county clerk to issue marriage licenses, or the local judge executive if the clerk is absent or the office is vacant. The licenses are valid for 39 days until someone — a minister or other qualified official — performs the ceremony and signs the form. The couple then returns the license to the clerk and has it recorded.

The wording on the license says the couple is “hereby authorized” to get married.

“If … I authorize that I’m saying I agree with it, and I can’t,” Davis said Monday in a sometimes tearful testimony before a packed courtroom.