President Donald Trump on Friday delivered a message to congressional Republicans, essentially telling them their inaction led him to cut a deal with Democrats this week.

Amid GOP members’ collective frustration-venting in public this week about Trump’s decision to cut a deal with Senate Minority Leader Charles E. Schumer, D-New York, and House Minority Leader Nancy Pelosi, D-California, Trump used a series of tweets to explain his choice — and give his fellow Republicans some instructions for the fall legislative session.

“Republicans, sorry, but I’ve been hearing about Repeal & Replace for 7 years, didn’t happen!” Trump tweeted, openly criticizing his own party and again showing his frustration with Republicans’ inability to get a bill through the Senate that would have partially repealed and replaced Barack Obama’s 2010 health care law.