Former House Speaker Newt Gingrich criticized President Trump on Thursday for lashing out against Senate Majority Leader Mitch McConnell (R-KY).

Gingrich, an outspoken supporter of the President, said both Trump and Senate Republicans are responsible for failing to fulfill campaign promises of repealing Obamacare, calling it a “collective failure.”

“The fact is, with a very narrow margin, 52 people, Mitch McConnell got 49 out of 52. I think the President can’t disassociate himself from this. He is part of the leadership team,” Gingrich said, appearing on “Fox and Friends.” “He is not an observer sitting in the stands. He is on the field. It was a collective failure.”

The feud between Trump and McConnell began when McConnell told constituents back in Kentucky on Monday that the President had “excessive expectations” about what it takes to get legislation passed in Congress.

Trump responded on Twitter on Wednesday and Thursday, saying he thinks McConnell is wrong about his expectations and asking why “after 7 years” repealing and replacing Obamacare hasn’t happened.

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

Can you believe that Mitch McConnell, who has screamed Repeal & Replace for 7 years, couldn't get it done. Must Repeal & Replace ObamaCare! — Donald J. Trump (@realDonaldTrump) August 10, 2017

Gingrich said the blame also falls on Democrats.

“To get involved in shooting at each other when there were 16 Democrats voting ‘no’ for every single Republican who voted ‘no’ is goofy. I say it is goofy,” Gingrich said.

He defended McConnell, saying he “doesn’t benefit from those remarks,” but Gingrich thinks the majority leader would probably take back his comments if he could.

Gingrich went on to criticize the way Congress has handled the overhaul of health care, which fell flat when Senate Republicans failed to get a simple majority to pass a “skinny” repeal of Obamacare last month.

“This may take three or four or five years or 10 or 12 bills. I’m not sure anybody is smart enough to write a single bill to replace Obamacare in one giant step. … I’m equally afraid they will mishandle the tax cuts exactly the way they mishandled health care. If that happens, we’ll be at the end of the year with a disaster,” he said.