A prominent astronomer is resigning from the University of California, Berkeley, after an investigation found he sexually harassed female students, according to a senior administration official.

The official was not authorized to speak publicly about Professor Geoffrey Marcy’s resignation until the process is complete. The university has not released details of a six-month investigation into one of the world’s leading experts on planets outside Earth’s solar system, which found he violated the campus’s sexual harassment policies.

The inquiry that ended in June stemmed from complaints from former students and involved incidents dating as far back as 2001.

An email to Marcy was not immediately returned. He apologized last week, but the university has faced growing pressure to fire him.

After the investigation and the nature of the complaints first were reported by BuzzFeed News, UC Berkeley said Marcy had agreed to clear parameters around his behavior, knowing that he would be subject to automatic suspension or dismissal for any violations.

The school described the agreement Marcy reached with the vice-provost for faculty, Janet Broughton, as “the most certain and effective option for preventing any inappropriate future conduct” because it bypassed a lengthy disciplinary process that would have required a hearing before a faculty committee.

Some of Marcy’s colleagues and former students were angry that he had not been sanctioned more severely, including one of the four female students who filed complaints about him with the school last year.

“His job as a professor is to mentor and provide guidance to young people; in that role he’s caused devastating harm,” Sarah Ballard, who earned an undergraduate degree in astronomy from Berkeley, told the New York Times.

Ballard, now a post-doctoral fellow at the Massachusetts Institute of Technology, said her former professor talked to her about his sexual experiences as a young man and tried to give her a neck massage as she was getting out of his car.

She told the Times she was afraid to confront Marcy or file a complaint because she needed letters of recommendation for graduate school.

Marcy posted a public apology on his website in a letter he sought to have published in the newsletter of the American Astronomical Society’s committee on the status of women in astronomy. The committee declined his request.

“While I don’t agree with each complaint that has been made, it’s clear my actions made some women uncomfortable and, for that, I sincerely apologize,” he told the Associated Press in an email on Monday. “I have worked hard to change and will continue to focus my efforts on promoting a supportive and respectful environment both in the astronomy community and more broadly.”