Kim Davis, the Kentucky clerk who became an icon on the right for her refusal to sign marriage licenses for gay couples, has lost her race against Democrat Elwood Caudill Jr. for the Rowan County clerkship, The State reports.

In 2015, shortly after a Supreme Court decision legalized gay marriage across the country, Davis was put in jail for five days after refusing to sign same-sex couples’ marriage licenses. She claimed that signing the licenses went against her religious beliefs. Davis’ arrest catapulted her into the spotlight, where she was praised as a hero by many on the right, including Kentucky Gov. Matt Bevin and former Arkansas Gov. Mike Huckabee.

Caudill won the Democratic primary for the clerkship earlier this year, beating opponent David Ermold, a gay man who was once denied a marriage license by Kim Davis. Despite a viral campaign that raised $200,000 (to Caudill’s $6,000), Ermold lost the race by 1,000 votes. Ermold later refused to support Caudill, calling him a homophobe. (Caudill has denied this.)

Davis lost her race tonight by approximately 700 votes.