President Barack Obama’s election in 2008 represented a new chapter in history. His meteoric rise to the presidency was swift and shocked not only a nation, but also the political elites, including Democratic favorites such as Sens. Hillary Clinton and John Edwards. But as we look back on the eight years that Obama served as president, we see a much different picture — a picture that’s certainly historic, but for all the wrong reasons.

The legacy of Obama represented one of the most racially divided times in our nation’s history. In a New York Times/CBS News poll conducted in July of Obama’s final year in office, 69 percent of Americans said that race relations were bad and that “six in 10 Americans say that race relations were growing worse, up from 38 percent a year ago.”

The legacy of Obama represented a time when race-related riots were on the rise. We can’t forget the scenes on television in Baltimore and Ferguson, or the violence that erupted after the deaths of Oscar Grant, Trayvon Martin, Manuel Diaz, and Kimini Gray. Images taken from each of these events resembled combat zones, with police in riot gear while angry citizens burned cars, smashed windows, and vandalized storefronts.

The legacy of Obama represented a time when our enemies and allies abroad viewed us as weak. Shortly after his inauguration, Obama embarked on a worldwide apology tour throughout the Middle East and criticized America.

The legacy of Obama represented a time when homegrown domestic terrorism was on the rise. We can’t forget the horrific scenes or the carnage in places like Fort Hood, Boston, Chattanooga, San Bernardino, and Orlando.

The legacy of Obama represented a time when Islamic State recruitment was on the rise. By fulfilling campaign promises to withdraw U.S. forces from Iraq and Afghanistan, he didn’t take into account the void that would leave, as well as the opportunity for ISIS and our enemies to fill it.

The legacy of Obama represented a time when embassy officials were attacked in Benghazi that resulted in senseless deaths, including our Amb. Chris Stevens. The Obama administration failed to heed the warning signs in advance, and as a result, innocent Americans were killed. Stevens even warned Obama’s State Department about an escalation in violence and the need for additional help. But those pleas were ignored.

The legacy of Obama represented a time of failed agreements such as the Iran nuclear deal. Not only did the president lie to Congress about the details of the deal, but he also ordered planes to secretly deliver billions of dollars in cash to Iranian officials.

The legacy of Obama represented a time when his landmark Obamacare legislation, which was meant to provide healthcare for all, still left 27 million Americans without insurance. And when he famously said, “If you like your doctor, you can keep your doctor,” that promise turned out to be a lie as well.

The legacy of Obama represented a time when America made terrible financial deals, like the more than $2.2 billion in defaulted energy loans at taxpayers expense, including the now infamous $500 million loan to Solyndra, where company executives misled Energy Department officials and later went bankrupt. And who can forget when Obama said, “It's here that companies like Solyndra are leading the way toward a brighter and more prosperous future.”

The legacy of Obama represented a time of personal enrichment. In 2009, when everyday people were recession-weary, Obama arranged, just days before his inauguration, a $500,000 advance for a future book deal. Never before in our history had a president or president-elect negotiated a book deal before or during their time in office.

The legacy of Barack Obama was certainly historic, but for all the wrong reasons. As a candidate, he campaigned on “hope” and “change,” but as president, America was left with no hope and very little change. In 2008, he sold the dream. But for eight years, America was left living the nightmare.

A legacy for sure — but not the kind to be very proud of.

Mark Vargas (@MarkAVargas) is a tech entrepreneur, political adviser, and contributor to the Washington Examiner’s Beltway Confidential blog.