PRINCETON, N.J. — The board of trustees at Princeton University said on Monday that it had voted to keep Woodrow Wilson’s name on campus buildings and programs, despite student protests last year that led to a review of Wilson’s legacy here.

Following a racially charged 32-hour sit-in in November, Christopher L. Eisgruber, the university president, signed an agreement to consider removing Wilson’s name from Princeton’s public policy school and a residential college because of Wilson’s views on race.

While it left Wilson’s name in place, the board called “for an expanded and more vigorous commitment to diversity and inclusion at Princeton” in a statement. To that end, it endorsed the creation of a new program to diversify the ranks of its doctoral candidates, recommended that the campus’s artworks and iconography better reflect the school’s current makeup and pledged to focus “on aspects of Princeton’s history that have been forgotten, overlooked, subordinated or suppressed.”

It also voted to change the university’s informal motto, “Princeton in the nation’s service and the service of all nations,” which was derived from a speech Wilson gave to celebrate the school’s 150th anniversary. A new version, “Princeton in the nation’s service and the service of humanity,” was suggested by Justice Sonia Sotomayor of the Supreme Court, a Princeton alumna, in 2014.