Rutgers University has graduated the largest class in school history while bidding farewell to its outgoing president.

School officials say the class of 2012 includes 13,465 graduates from the university’s New Brunswick-Piscataway, Newark and Camden campuses.

But only a few thousand of them attended Sunday’s system-wide ceremony at High Point Solutions Stadium in Piscataway. Most Rutgers students will attend smaller graduation ceremonies with their schools and colleges this week, where they will pick up their degrees.

The event was one of the last official duties for Richard McCormick, who is stepping down next month to return to teaching at Rutgers after nearly a decade as the university’s president.

University officials surprised McCormick during the ceremony, presenting him with an honorary doctor of laws.