President Donald Trump blamed the Republican Party’s sweeping midterm losses on his absence from the ballot, saying the GOP would have won “in a landslide” if he had been running.

“I wasn’t on the Ballot and if I was, we would have won IN A LANDSLIDE!” Trump wrote on Truth Social Tuesday night as Democrats made major gains across the country.

Trump had made his own political influence a central part of the campaign, repeatedly telling supporters in the weeks before the election to “pretend” he was on the ballot. At a rally in Kansas two days before Election Day, he again argued that Republicans performed better when he was on the ballot and urged voters to treat the election as though he were running.

After the results came in, Trump said he did not consider the losses a personal defeat because he was not a candidate. He blamed some of the Republican candidates, as well as other factors including oil prices and Fox News.

The election produced major setbacks for Republicans, with Democrats taking control of both chambers of Congress. Trump said he would accept the results and work with the incoming Democratic majorities.

Trump’s explanation has drawn attention because he had spent much of the campaign urging voters to view the midterms as a referendum on his presidency. An Associated Press analysis found that he used a version of the “pretend I’m on the ballot” message at 30 of 39 rallies and speeches since September 1.

The losses are now prompting a broader debate within the Republican Party over the direction of the administration and the issues that mattered most to voters.

This article was independently written by the BJL Newsroom based on reporting from The Washington Post, The Associated Press and Axios.