Ellen DeGeneres and her The Ellen DeGeneres Show audience gave President Barack Obama a standing ovation for his support of gay marriage.

On Wednesday, Obama became the first sitting president to endorse gay marriage.

“What an amazing day for our country,” DeGeneres told her audience. “President Obama just came out in support of same-sex marriage. And I say: Wow.”

DeGeneres, who married actress Portia de Rossi in 2008, continued: “There have been moments in history when someone has had the courage to stand up for what they believe in and that one action changes everything and I hope that this is one of those times. It takes a brave man to take a stand like this, especially in an election year.”

“So, Mr. President I say to you thank you very, very much,” she said as she stood up along with the rest of her live audience to give the president a standing ovation. (The video is embedded in the right panel of this page. Visit our video library for more videos.)