BDS graffiti sign
BDS graffiti sign Miriam Alster/Flash 90

A federal judge on Tuesday temporarily blocked a Kansas law barring state contractors from participating in boycotts against Israel, The Associated Press reported.

The American Civil Liberties Union (ACLU) had filed the federal lawsuit challenging the Kansas in October, saying it was representing a public school math teacher who was denied a state contract because she participates in the anti-Israel boycott.

U.S. District Judge Daniel Crabtree wrote in his decision that the law violates free speech rights, writing that the U.S. Supreme Court has held that the “First Amendment protects the right to participate in a boycott like the one punished by the Kansas law.”

The judge granted the request from the American Civil Liberties Union to block enforcement of the Kansas law while the case proceeds. Crabtree found it is “highly likely” that the Kansas law is invalid.

“A desire to prevent discrimination against Israeli businesses is an insufficient public interest to overcome the public’s interest in protecting a constitutional right,” Crabtree wrote, according to AP.

In recent years, 24 states have passed legislation against the anti-Israel Boycott, Divestment and Sanctions (BDS) movement. These include New York, California, New Jersey, Indiana, Florida, Tennessee, Michigan, Montana and Virginia.

ACLU has also challenged a similar anti-BDS law in Arizona. The law, which was passed in March 2016, requires that any company that contracts with the state submit a written certification that it is not currently boycotting Israel.