Georgia Gov. Nathan Deal has signed legislation that would require thousands of people applying for welfare to pass a drug test before they could receive benefits.

The Republican-controlled Legislature passed the law over the opposition of Democrats.

Backers say it will ensure that welfare benefits are used for their intended purpose and not to subsidize drug use and criminal activity. Democrats said the measure places an unfair burden on the poor.

Gerry Weber of the Southern Poverty Law Center said the organization is prepared to file a lawsuit over the issue, but not until it is put into practice. It takes effect July 1.

A similar law in Florida took effect last July but was blocked by a federal judge in October.

At least two dozen states have proposed measures this year that would require drug tests for benefits.