President Donald Trump on Wednesday fired back at Senate Majority Leader Mitch McConnell (R., Ky.) for his remarks that the president had "excessive expectations" regarding legislation, scolding McConnell for the failure of the Senate to repeal and replace Obamacare.

McConnell said Tuesday that Trump may expect too much out of Congress, pointing to his lack of political experience before the White House.

"Our new president, of course, has not been in this line of work before, and I think had excessive expectations about how quickly things happen in the Democratic process," McConnell said.

Trump did not appear to like that in the aftermath of the collapse of efforts to repeal and replace Obamacare.

"Senator Mitch McConnell said I had ‘excessive expectations,' but I don't think so. After 7 years of hearing Repeal & Replace, why not done?" he wrote.

Senator Mitch McConnell said I had "excessive expectations," but I don't think so. After 7 years of hearing Repeal & Replace, why not done? — Donald J. Trump (@realDonaldTrump) August 9, 2017

Trump repeatedly implored Republicans in Congress to keep their long-held promise regarding the health care law, but three GOP defections last month stalled the effort.

Fox News host Sean Hannity, a fervent defender of the president, also took exception to McConnell's remarks via Twitter, calling the majority leader "weak" and "spineless."