(CNN) A group of Notre Dame graduates walked out of their graduation ceremony Sunday in protest against Vice President Mike Pence and his policies.

Pence was delivering the commencement speech after receiving an honorary degree from the Catholic university, located in his home state of Indiana.

Videos showed some students standing as Pence took the podium, then walking out of the ceremony and gathering outside Notre Dame Stadium, where they held a short alternative "graduation ceremony."

The protest action was planned ahead of the ceremony, with activist group We Stand For saying Pence's policies as vice president and as former Indiana governor targeted marginalized people on the basis of their religion, skin color or sexual orientation.

'Political leaders are necessary'

Introducing Pence, University President Rev. John I. Jenkins said "political leaders are necessary for society, and we must strive with them to serve the common good."

"Political leaders are necessary for society, and we must strive with them to serve the common good." - Fr. Jenkins introduces @VP #ND2017 pic.twitter.com/QdZejTUG2L — Notre Dame (@NotreDame) May 21, 2017

Referring to "a fractured nation, with deep divisions and raw political feelings," Jenkins said injustice must be challenged; "But we must also listen to those who disagree, care for the bonds that join us together and find ways to build a society where all can flourish -- even the people who don't look like us, think like us, or vote with us."

Pence told the assembled graduates that Notre Dame was a "vanguard of freedom of expression and the free exchange of ideas."

"While this institution has maintained an atmosphere of civility and open debate, far too many campuses across America have become characterized by speech codes, safe spaces, tone policing, administration-sanctioned political correctness -- all of which amounts to the suppression of free speech," Pence said. "These practices are destructive of learning and the pursuit of knowledge."

Proud to address @NotreDame's 2017 Class. To the over 3,100 who graduated: strive every day to lead for good w/ courage & conviction #ND2017 pic.twitter.com/NfSBovg2Ub — Vice President Pence (@VP) May 21, 2017

He tweeted that he had been honored to speak at the ceremony.

Invitation to speak 'an egregious insult'

Speaking on Sunday ahead of his graduation, Bryan Ricketts told CNN he would be walking out after learning solidarity during his time at Notre Dame.

"Personally, I know Mike Pence's policies from his time as governor, when he tried to implement RFRA (The Religious Freedom Restoration Act) without civil rights protections for LGBTQ people. As a gay man, this directly impacted me. However, many graduates here have been directly targeted by other policies -- for example, those students and their families who are undocumented and who risk deportation to celebrate this milestone in their lives," Ricketts said.

Fellow protester Jenn Cha said it there needed to be space for dialogue between people of different beliefs. "However, it is an egregious insult to invite Pence to speak at the celebration of the accomplishments of university graduates, many of whom are LGBTQ, first-generation, low-income, and people of color he has actively supported legislation against," she said.

Liz Hynes said that Pence represented the kind of intolerance Notre Dame had sought to eliminate. "His anti-LGBT, anti-refugee, and anti-health care policies have harmed people in ways for which no religious justification can be made."

Other opposition

A number of prominent Republicans have faced student opposition at commencement speeches this graduation season. Last week, Education Secretary Betsy DeVos faced raucous booing at a speech at historically black Bethune-Cookman University

Pence is the first vice president to deliver a commencement speech at Notre Dame, according to the university.

Six presidents from both sides of the aisle have given commencement speeches at Notre Dame, including Barack Obama in 2009 and George W. Bush in 2001.

"It is fitting that in the 175th year of our founding on Indiana soil that Notre Dame recognize a native son who served our state and now the nation with quiet earnestness, moral conviction and a dedication to the common good characteristic of true statesmen," Notre Dame President Rev. John I. Jenkins said in a statement.

Pence received his bachelor's degree from Indiana's Hanover College and attended Indiana University School of Law.