Another Silicon Valley business has been upended by allegations of sexism and sexual harassment.

Justin Caldbeck, an investor and cofounder of Binary Capital, has resigned from the venture capital firm after he was accused of sexually harassing women who work in tech. Caldbeck had said on Friday he would take an indefinite leave of absence.

Matt Mazzeo, another partner at the firm, also quit after the charges against Caldbeck. Binary Capital is now planning to conduct an internal investigation to prevent similar behavior in the future.

"As I write this today, I regret that I did not insist on Justin's immediate exit after his behavior was revealed," Jonathan Teo, cofounder and managing partner at Binary Capital, said in a statement Monday announcing the departures and investigation.

"I would also like to apologize for our initial response to these allegations," Teo said. "It is clear to me now that I was misled by a partner and friend.

Related: Uber fires 20 employees over sexual harassment probe

Reed Albergotti of tech news site The Information reported on Thursday that six female founders had come forward with stories about unwanted advances by Caldbeck. Their claims included groping and late-night texts.

Caldbeck, 40, was quoted in the story strongly denying the claims, calling them "attacks on my character." Binary Capital was also quoted saying the allegations were false. "There is no evidence that Justin did anything illegal," the firm said.

But in his statement Friday, Caldbeck said he was deeply ashamed of his lack of self-awareness. He thanked the women who spoke out for making him take a "sobering look into my own character and behavior that I can no longer ignore."

Caldbeck wrote that the past "24 hours have been the darkest of my life," and said he'll seek professional counseling.

He was previously a managing director at Lightspeed Venture Partners and a partner at Bain Capital Ventures. Caldbeck led investments for Binary Capital in Grubhub (GRUB), Stitchfix, TaskRabbit and other startups.

Caldbeck's statement came amid mounting outrage among Silicon Valley executives and investors. LinkedIn founder Reid Hoffman called it "entirely immoral and outrageous behavior."

The allegations against Caldbeck followed closely on the heels of workplace culture problems at Uber. A former Uber engineer, Susan Fowler, wrote a blog post earlier this year about what she called widespread harassment and sexism at Uber.

The post spurred an internal investigation at the company that resulted in the termination of 20 employees and a shuffling of Uber's executive ranks. Uber CEO Kalanick resigned last week after having previously said he would take an indefinite leave of absence.