Barack Obama called out Republican leaders in a statement marking the one-year anniversary of last year’s deadly riot at the U.S. Capitol.

On Thursday (Jan. 6), the former president took to Instagram to share his thoughts about the GOP’s role in holding Americans back from upholding freedom and democracy across the globe. “Historically, Americans have been defenders of democracy and freedom around the world — especially when it’s under attack,” Obama wrote. “But we can’t serve that role when leading figures in one of our two major political parties are actively undermining democracy at home. We can’t set an example when our own leaders are willing to fabricate lies and cast doubt on the results of free and fair elections.”

Obama also said state officials have “made it harder to vote,” and some have tried to change the method for certifying election results. According to The Hill, at least 19 states have approved 34 laws limiting voting access between Jan. 1, 2021 and Dec. 7, 2021.

Obama’s statement correlates directly with President Joe Biden’s speech, in which he slammed Donald Trump for inciting the riot at the U.S. Capitol by spreading lies and misinformation about the 2020 presidential election results. “For the first time in our history, a president not just lost the election, he tried to prevent a peaceful transfer of power as a violent mob breached the Capitol,” the president said of his predecessor, without mentioning him by name. “We must make sure that never happens again.”

“He’s not just a former president,” he said. “He’s a defeated former president.” Biden added that the former POTUS “values power over principle” and proclaimed that his “bruised ego matters more to him than our democracy.”

Check out Obama’s full statement below.