Alabama has agreed to pay $51,000 in legal fees to Planned Parenthood lawyers for that state’s failed attempt to cut off Medicaid funding to the organization’s clinics.

Federal law prohibits interfering with patients’ choice of Medicaid service providers. Alabama cut off funding because of news stories about misleading videos assembled in undercover stings by an anti-abortion group about fetal tissue legally provided by three Planned Parenthood clinics (not in Alabama) for medical research.

Arkansas joined with several other Republican-led states in attempting to stop Medicaid payments. A judge has also ruled against Gov. Asa Hutchinson’s defunding effort in a lawsuit here, but Arkansas is fighting the effort to make it a class action.