Bill Cosby Bill Cosby

The University of Massachusetts-Amherst has cut all ties with alumnus Bill Cosby in the wake of mounting rape allegations.

Cosby received a master's and a doctorate in education from the college and was an honorary co-chairman of the school's fundraising campaign. He and his wife, Camille, have personally donated several thousands of dollars to the school.

But despite announcing Cosby would remain in the honorary position on Tuesday, a spokesman for the university told the Boston Globe on Wednesday that officials had asked Cosby to step down, to which the comedian agreed.

Why no one should be surprised by the Bill Cosby rape allegations

"He no longer has any affiliation with the campaign nor does he serve in any other capacity for the university," university spokesman Edward Blaguszewski said in a statement. 

UMass' decision followed the urging of Attorney General Martha Coakley to sever ties with the star. "At a time when the state is focused on prevention and response to sexual assaults on campus, allowing Mr. Cosby to continue to represent our state university sends the exact wrong message," Coakley wrote in a letter to the college.

UMass-Amherst is only the latest college to end its relationship with Cosby. Berklee College of Music in Boston and High Point University in North Carolina have also cut ties. However, Cosby remains a member of the board of trustees at his alma mater Temple University, and Spelman College, a women's school, has not publicly ended its relationship with him.