Updated

Princeton University has reached an agreement with students protesting inside the president's office, ending a nearly two-day sit-in.

The university says President Christopher Eisgruber signed the agreement late Thursday with two other college officials and 17 students.

The protesters wanted the school to acknowledge what they say is the racist legacy of former Princeton president and U.S. President Woodrow Wilson. They also wanted the school to rename the buildings and programs named for him.

The university says it will consider the removal of a mural of Wilson, initiate conversations about Wilson's legacy on campus and enhance cultural competency training for staff, among other aspects of the agreement.

The university says no formal disciplinary action would be taken if the students peacefully left the office.