Ohio’s Republican-controlled legislature on Wednesday completed work on a bill that would restrict collective bargaining rights for the state’s public sector unions.

The bill passed the state House 53 to 44; no Democrats voted in favor of the bill, while 5 Republicans voted against it. A version of the legislation had already passed the state Senate once, and senators quickly approved the House version Wednesday evening by a vote of 17 to 16.

The legislation now goes to Republican Gov. John Kasich’s desk. Kasich indicated earlier Wednesday that he plans to sign the measure into law, and media reports said he plans to sign it on Friday.

“We think we have a program here that’s going to allow local governments to deal with fewer dollars, it still protects the right of collective bargaining on things that we think are legitimate, and will help people be able to cope in a period of time when we do have fewer resources,” Kasich said at a signing ceremony for a different bill, The Associated Press reported.

The passage of the bill comes just weeks after Republican majorities in the Wisconsin legislature approved a bill restricting collective bargaining for most public-sector unions. While the Wisconsin bill — which has been put on hold by a court challenge — exempted police officers and firefighters, the Ohio legislation includes them in the restrictions. In all, more than 350,000 workers will fall under the restrictions.

“This state cannot pay what we’ve been paying in the past,” House Speaker William Batchelder said before the vote. “Local governments and taxpayers need control over their budgets. This bill will give control back to the people who pay the bill.”

While the Wisconsin bill has been put on hold by a judge, in Ohio it’s expected to be slowed by a referendum that could be put to voters if Kasich signs the bill before April 6.

Ohio Democratic Party Chairman Chris Redfern on Tuesday called the bill “a piece of manure,” the Columbus Dispatch reported. “It’s destined for a referendum,” he said. “The disrespect and contempt shown toward safety forces these past few months will long be remembered.”