TOPEKA, Kan. (AP) Democratic Gov. Laura Kelly has dropped a policy that extended food assistance to thousands of Kansas adults even though they failed to meet a work requirement and had no children.

Kelly acted Thursday in response to a threat from Republican Attorney General Derek Schmidt to file a lawsuit over the policy change.

Top Republicans in the GOP-controlled Legislature argued that the policy change made in May violated a 2015 law imposing work requirements and other restrictions on food and cash assistance recipients.

Kelly said she believes her administration’s policy was “legally defensible” but engaging in a lengthy court battle was not worth the cost to taxpayers.

The state extended food assistance this month to 5,500 adults due to lose it. Kelly’s administration had planned to help them again in August and September.