The Israeli Knesset (parliament) on Tuesday passed a law temporarily banning the arrest and prosecution of ultra-Orthodox Jews evading military service.

Lawmakers passed a bill exempting Haredi draft dodgers in the second and third readings by 58-54 votes, the daily Yedioth Ahronoth reported.

Prime Minister Benjamin Netanyahu was absent from Tuesday’s vote on the controversial bill, championed by the ultra-Orthodox parties.

The law grants tens of thousands of Haredi draft evaders immunity from arrest until Nov. 30, and extends that protection to those who become eligible for military service after it takes effect.

It also suspends ongoing criminal proceedings against those already facing enforcement measures.