Jeff Jones, the president of Uber, is quitting the car-hailing company after less than a year. The move by the No. 2 exec, said sources, is directly related to the multiple controversies there, including explosive charges of sexism and sexual harassment.

Uber confirmed the departure and will be sending a statement.

Jones also confirmed the departure with a blistering assessment of the company. "It is now clear, however, that the beliefs and approach to leadership that have guided my career are inconsistent with what I saw and experienced at Uber, and I can no longer continue as president of the ride sharing business," he said in a statement to Recode.

Jones, said sources, determined that this was not the situation he signed on for, especially after Uber CEO Travis Kalanick announced a search for a new COO to help him right the very troubled ship.

More from Recode:

Clinton and Trump's presidential campaigns spent more on Uber than traditional taxis

Full video: Tasty GM Ashley McCollum and chef Marcus Samuelsson at Code Media

Here's how Google's rival to Microsoft Office, G Suite, came together

That was not the reason for Jones' departure, sources said, even though it meant that Kalanick was bringing in a new exec who could outrank him. Instead, these sources said, Jones determined that the situation at the company was more problematic than he realized.

Jones was certainly touted by Kalanick as a big hire when he arrived at Uber last fall from Target, where he was its well-regarded CMO. His job, among others, was to remake the company's tainted image. He also was president of its main ride-sharing business.

Kalanick and Jones met just a year ago at the TED conference in Vancouver and there was much excitement that the company was attracting top-level corporate execs.

Jones replaced board member Ryan Graves, who started at the company as CEO but relinquished that role to Travis Kalanick in 2010, as president. Graves now heads up the company's delivery business, UberEverything. The transition was pitched as a necessary move as the ride-hail company continued to scale.

"Over the last six months, Ryan and I have become increasingly convinced that our rapidly growing marketing efforts needed to be far more integrated with our city operations," Kalanick wrote in a post announcing Jones' hire.

Jones spent much of the beginning of his tenure as the president of ride-sharing driving for Uber and meeting with drivers, after which he sent drivers an email about what he learned and what the company intends to do.

"It's clear that there's much we can be doing better. Listening is where we get our best ideas, because they come from you, the people using Uber every day " he wrote.

But in February, Jones' second public attempt to reach drivers went awry when drivers began flooding Jones' Facebook page with angry comments and complaints during a question and answer session.

Jones' decision to leave Uber likely won't surprise people who worked with him at Target. "Jeff does not like conflict," a source previously told Recode.

The situation at the company has deteriorated since then, obviously, after a blog post by a former female engineer chronicled a deeply dysfunctional management led by Kalanick that favored what board member Arianna Huffington called "brilliant jerks."

Jerks indeed, as what has happened since then has made clear. Since the post, the company has fired its engineering head after revelations of a serious sexual harassment investigation at his previous employer, saw its head of product leave after questionable sexual behavior was uncovered at a company event and has initiated an investigation into the entire situation with a former Attorney General of the United States at the lead.

In addition, the now persistently apologetic Kalanick announced the search for a COO to help him do a better job.

—By Kara Swisher and Johana Bhuiyan, Recode.net.

CNBC's parent NBCUniversal is an investor in Recode's parent Vox, and the companies have a content-sharing arrangement.