President Barack Obama and Other Celebs Share Election Night Optimism as Country Panics Over Tight Race

This video is unavailable because we were unable to load a message from our sponsors.

If you are using ad-blocking software, please disable it and reload the page.

As the presidential race between Hillary Clinton and Donald Trump tightens, current president Barack Obama is offering a message of hope.

The commander-in-chief delivered one last election speech to the American public via Buzzfeed on Tuesday night, as polls across the country closed and ballots were counted.

WATCH: Barack Obama Slams Donald Trump in Celebrity Mean Tweets on ‘Jimmy Kimmel Live’

"Hey everybody. It's finally election night, and I imagine that's welcome news to most of you, because let's face it, this has been an exhausting, stressful, and sometimes downright weird election for all of us," he started his speech. "But here's what I want everybody to know. While we've certainly seen some new things this time around, what isn't new is that our democracy has always been rowdy and raucous. We've been through tough and divisive elections before, and we've always come out stronger for it. That's what makes America special -- the idea that while progress isn't guaranteed, each of us has the power to choose our path, not just on nights like this, but every day in between."

"It is a beautiful and fragile gift, and we should treat it that way," he said. "So whether your chosen candidates win or lose tonight, let's all agree not only to stay engaged, but to push ourselves to do even better. To vote not just when a president is on the ballot, but for Congress, and mayor, and school board and dog catcher. To educate ourselves on the issues, and join with our neighbors in tackling the ones that face our communities."

RELATED: Voters Flock To Susan B. Anthony's Grave To Pay Their Respects On Election Day

"And most importantly," he continued, "to see each other not simply as Democrats or Republicans, but as fellow Americans. To treat each other with the respect and empathy and kinship that title 'American' commands."

"That's especially true here on a place like Twitter, but it's something we can bring with us to everything we do, online and off. We can choose to see the best in one another," he concluded. "Have a good night everybody, and remember, no matter what happens, the sun will rise in the morning, and America will still be the greatest nation on earth."

RELATED: Alec Baldwin Opens Up About Playing Donald Trump on 'SNL': 'He's Not Somebody I Admire'

Other celebs also took to Twitter as election results rolled in, sharing messages of optimism as Donald Trump's electoral college lead over Hillary Clinton grew.

Stephen Colbert wrapped up his live Showtime special with a similar message of hope, telling his audience, "The election is over, you survived. Goodnight and may god bless America."

After his signoff, Colbert addressed the audience with another optimistic speech, according to The Hollywood Reporter.

"I meant what I said," he assured. "I wasn't just trying to be a positive person. It's a beautiful country, we're all going to be alright."

While the race has yet to be called, stars celebrated Election Day on Tuesday by casting their ballots and encouraging their fans to do the same. 

See which Hollywood celebs have hit the polls in the video below.

Related Gallery