Uber’s Chief Executive Officer Travis Kalanick resigned Tuesday amid a sexual harassment scandal that has shaken the ride-hailing giant and led to a probe into whether Uber employees mishandled the complaints against him.

Kalanick was forced to step down on Monday amid a public uproar over the sexual harassment allegations against him, but he has said that he was “heartbroken” by the news of the sexual-harassment inquiry and that he is cooperating with the investigation.

Kalanick resigned amid the scandal, which was first reported by the New York Times and detailed by multiple media outlets.

He is accused of sending text messages to an Uber employee in which he said he could not sleep with her, and that she was “so beautiful,” according to The New York Post.

Karanick, 52, was first named CEO of the company in December, and has overseen the ride sharing giant’s rapid expansion in cities like New York and San Francisco, and its efforts to expand beyond its core market of private car ownership.

The company, which has struggled with traffic jams in cities such as New York, has struggled to compete with rivals Uber and Lyft, which have raised tens of millions of dollars to expand into new markets and attract drivers and riders.

Uber’s stock has plunged more than 80 percent since the beginning of 2017.