HARRISBURG, Pa. (AP) – Legislation to help Pennsylvania’s counties afford new voting machines before next year’s election is wrapped up in the politics of voting and election laws.

Gov. Tom Wolf said Monday that he’ll decide later in the week whether to sign or veto a bill that was opposed by the vast majority of his fellow Democrats in the state Legislature.

READ MORE: 'Senseless Act': Man Sentenced To At Least 5 Years In Deadly Crash Involving West Virginia Newlyweds

The bill passed by the Republican-controlled Legislature authorizes borrowing $90 million to help counties underwrite a total voting-machine replacement cost that could exceed $100 million.

READ MORE: AP Source: Pittsburgh Pirates, Catcher Roberto Pérez Reach 1-Year Deal

Hours before it passed, Republicans added that provision to legislation that also eliminates the single ballot option for voters to select a straight-party ticket in elections.

Democrats say that’ll benefit Republicans in down-ballot legislative elections. Republicans say it’ll encourage voters to vote for candidates, not parties.

MORE NEWS: Duolingo Doubling Office Space In East Liberty

(Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.)