• He said he was "proud to be a gay son of God" as he spoke at the graduation ceremony.
  • He said he opened up about this sexuality because it was "important to share both for myself and the LGBTQ+ community at BYU."
  • Easton later said on Twitter that he had previously came out as gay to close family members and friends.
  • Visit INSIDER's homepage for more stories.

A valedictorian at Brigham Young University came out as gay during his convocation speech.

Matt Easton, the Mormon university's political science valedictorian, opened up about his sexuality at graduation on Friday , saying later on Twitter that it was "important to share both for myself and the LGBTQ+ community at BYU."

"I stand before my family, friends and graduating class today, to say that I am proud to be a gay son of God," Easton said in his speech at Salt Lake City's Marriott Center.

His speech was met with cheers and applause from the crowd.

"Four years ago it would have been impossible for me to imagine that I would come out to my entire college," he said. "It is a phenomenal feeling and it is a victory for me in and of itself."

Easton said on Twitter after giving the speech that he had already come out to family members and friends, but this was the first time he spoke about his sexuality publicly.

Easton was applauded for his speech online. Actress Kristin Chenoweth was among those who praised him.

BYU was founded by The Church of Jesus Christ of Latter-day Saints and has a strict honor code that has been criticized in the past for punishing students, particularly LGBTQ students.

The code says that "same-gender attraction is not an Honor Code issue" but says the university requires "a strict commitment to the law of chastity."

Read more: An Alabama sheriff's deputy is on leave after a social media post mocking the suicide of an LGBTQ teen

"Homosexual behavior is inappropriate and violates the Honor Code," the university policycontinues. "Homosexual behavior includes not only sexual relations between members of the same sex, but all forms of physical intimacy that give expression to homosexual feelings."

The Church of Jesus Christ of Latter-day Saints repealed a policy earlier this month that deemed same-sex married couples "apostates" and barring their children from being baptized.

NOW WATCH: 32 places you need to eat at in London