Follow KDKA-TV: Facebook | Twitter

WASHINGTON (AP) — Senate Republicans have passed the most sweeping rewrite of the nation’s tax laws in more than three decades, setting the stage for a final House vote Wednesday.

READ MORE: West Virginia Officials Welcome Idea Of Adding Maryland Counties

The House passed the bill earlier Tuesday. But the Senate had to make minor changes so the bill would comply with Senate budget rules.

The Senate vote was 51-48 on early Wednesday, with all Republicans in favor and all Democrats opposed.

READ MORE: Police Arrest Suspect Who Took Off For Mother's Residence In Elizabeth Township

Rewriting the tax code has been a longtime goal of Republicans and an effort championed by President Donald Trump.

Democrats complain that the package is a giveaway to corporations and the rich.

The tax cuts total nearly $1.5 trillion over the next decade and would take effect in January. Workers would start to see changes in the amount of taxes withheld from their paychecks in February.

MORE NEWS: At Least 7 Tornadoes Tear Through Western Pennsylvania

(© Copyright 2017 The Associated Press. All Rights Reserved. This material may not be published, broadcast, rewritten or redistributed.)