“A federal judge on Tuesday struck down as unconstitutional a Florida law that required welfare applicants to undergo mandatory drug testing, setting the stage for a legal battle that could affect similar efforts nationwide.

Judge Mary S. Scriven of the United States District Court in Orlando held that the testing requirement, the signature legislation of Gov. Rick Scott, a Republican who campaigned on the issue, violated the protection against unreasonable searches.

“The court finds there is no set of circumstances under which the warrantless, suspicionless drug testing at issue in this case could be constitutionally applied,” she wrote. The ruling made permanent an earlier, temporary ban by the judge.”

Governor Scott promised to appeal:

“Mr. Scott, who had argued that the drug testing was necessary to protect children and ensure that tax money was not going to illegal drugs, said that the state would appeal the ruling.”