The US Senate narrowly approved a sweeping tax overhaul early Wednesday

The US Senate narrowly approved a sweeping tax overhaul early Wednesday, bringing President Donald Trump to the brink of his first major legislative victory nearly a year after he took office.

The Republican legislation passed along strict party lines, 51 votes to 48, with all Democrats united in opposition.

Hours before the overnight Senate vote, Trump's $1.5 trillion tax revamp cleared the House of Representatives -- but a last-minute snag will force the lower chamber to vote on the package once again Wednesday, after a parliamentarian stripped out three provisions found to be in violation of Senate rules