Major U.S. cities and counties are beefing up legal services for immigrants to help them fight deportation and avoid fraudulent lawyers in the wake of Donald Trump’s election and his hard-line immigration enforcement promises.

Tapping local government funds to represent immigrants in federal proceedings provides an early example of the type of pushback the Republican incoming president will receive in Democratic strongholds. Advocates call it a matter of justice and smart economics, but some question whether it’s a fair use of taxpayer money.