Former President Barack Obama blames conservative media and Republicans after the protests at the United States Capitol on Wednesday.

Obama said in a statement that Trump incited the protests that led to violence at the U.S. capitol. But he blames the Republican Party and “its accompanying media ecosystem” for not reporting the truth.

“Their fantasy narrative has spiraled further and further from reality, and it builds upon years of sown resentments,” Obama wrote. “Now we’re seeing the consequences, whipped up into a violent crescendo.”

Former president Obama said that Republicans should “choose reality” and stop stoking the “raging fires” of their supporters.

He describes the protests at the capitol as a “moment of great dishonor and shame for our nation” but said that the American people would be “kidding ourselves” if they thought it was a surprise.

Obama went on to praise some Republicans for speaking out against Trump’s claims that the election was fraudulent.

“I’ve been heartened to see many members of the President’s party speak up forcefully today,” he wrote and commends other Republican leaders in Georgia for resisting Trump’s calls to revisit the election.

“We need more leaders like these — right now and in the days, weeks, and months ahead as President-Elect Biden works to restore a common purpose to our politics,” Obama wrote.

Former president Obama urged Americans to show support for President-elect Joe Biden, who promised to restore unity.

“It’s up to all of us as Americans, regardless of party, to support him in that goal,” Obama concluded.