Florida taxpayers are on the hook for almost $500,000 in fees to lawyers who successfully challenged the state’s prohibition against same-sex marriage.

Attorney General Pam Bondi, who initially balked at paying the legal fees, has agreed to pay $280,000 to Jacksonville lawyers William Sheppard, Betsy White and Sam Jacobson, who represented two same-sex couples, according to documents filed in federal court on Wednesday.