President Trump Donald John TrumpBiden on Trump's refusal to commit to peaceful transfer of power: 'What country are we in?' Romney: 'Unthinkable and unacceptable' to not commit to peaceful transition of power Two Louisville police officers shot amid Breonna Taylor grand jury protests MORE on Wednesday showered praise on Senate Majority Leader Mitch McConnell Addison (Mitch) Mitchell McConnellFEC flags McConnell campaign over suspected accounting errors Poll: 59 percent think president elected in November should name next Supreme Court justice Mark Kelly: Arizona Senate race winner should be sworn in 'promptly' MORE (R-Ky.) for successfully shepherding the GOP tax overhaul through the upper chamber.

"I would like to congratulate @SenateMajLdr on having done a fantastic job both strategically & politically on the passing in the Senate of the MASSIVE TAX CUT & Reform Bill," Trump tweeted.

The president wrote that he "could have not asked for a better or more talented partner" than McConnell and predicted Republicans "will go onto many more VICTORIES!"

I would like to congratulate @SenateMajLdr on having done a fantastic job both strategically & politically on the passing in the Senate of the MASSIVE TAX CUT & Reform Bill. I could have not asked for a better or more talented partner. Our team will go onto many more VICTORIES! — Donald J. Trump (@realDonaldTrump) December 20, 2017

The Senate narrowly passed the tax bill on a 51-48 party-line vote early Wednesday morning.

ADVERTISEMENT

The House is expected to re-vote on the legislation later Wednesday, sending it to the president's desk in what will be the first major legislative achievement for Trump and the Republican-controlled Congress this year.

Trump's relationship with McConnell has in the past been fraught, hitting a low point during the summer and fall after Republicans in Congress tried and failed to repeal the Affordable Care Act.

The Senate leader accused the president of having unreasonable expectations for his legislative agenda and the president responded by all but calling for McConnell's ouster.

Trump also irked McConnell by endorsing Roy Moore Roy Stewart MooreVulnerable Senate Democrat urges unity: 'Not about what side of the aisle we're on' Sessions hits back at Trump days ahead of Alabama Senate runoff Judge allows Roy Moore lawsuit over Sacha Baron Cohen prank to proceed MORE in the Alabama Senate race over McConnell's objections. Moore went on to lose to Democrat Doug Jones earlier this month in the deep-red state.

But the two patched up their relationship in October, with the president insisting at a joint news conference they are "fighting for the same thing" as Republicans turned their attention to passing a tax overhaul.