(Reuters) - Uber Technologies Inc [UBER.UL] chose Dara Khosrowshahi, the chief executive of travel company Expedia Inc, as its chief executive on Sunday, according to two sources with knowledge of the matter, handing him the challenge of leading the ride-services company out of a nearly year-long crisis.

Khosrowshahi, 48, would take on the daunting task of mending Uber’s image, repairing frayed relations among investors, rebuilding employee morale and creating a profitable business after seven years of losses.

In Khosrowshahi, Uber’s board has picked an executive with a track record of driving growth while also delivering profits - precisely what the unprofitable Uber needs to satisfy investors. He has also proven capable of making Expedia the leader in another industry full of change and competition -- online travel.

But he would also have to contend with the legacy of Travis Kalanick, Uber’s pugnacious co-founder, who was ousted as CEO in June after shareholders representing about 40 percent of the company’s voting power signed a letter asking him to step down amid growing concern over his behavior and the behavior of senior managers under him.

The Uber board of directors has been meeting daily and deliberated on its pick for CEO throughout the weekend. A spokeswoman said on Sunday that the board had voted but was declining to disclose its choice publicly until after informing employees.

An Uber spokesman and an Expedia spokeswoman declined to comment. Khosrowshahi did not immediately respond to requests for comment through email and on Twitter.

Khosrowshahi, who has run Expedia for 12 years, was not known to the public to be among the top candidates for the job.

He beat out Jeff Immelt, chairman of General Electric Co and one of the finalists for the job, who said earlier on Sunday he was no longer in the running. Meg Whitman, chief executive of Hewlett Packard Enterprise, had also been a leading candidate, according to sources close to the process. Whitman last month denied having any interest in the job.

Unlike Immelt and Whitman, Khosrowshahi is not a fixture in the celebrity executive community. And since Expedia is based in Bellevue, Washington, he is a Silicon Valley outsider, offering a contrast to the “tech bro” culture Kalanick established at Uber.

FOCUSED ON GROWTH

The Iranian-American businessman came to the United States as a child in 1978 with his parents following the Iranian Revolution. He received a bachelor’s degree in engineering from Brown University and got his start at investment bank Allen and Co.

Dara Khosrowshahi at the Allen & Co Media Conference in Sun Valley. Reuters/Jim Urquhart

Khosrowshahi has certainly done well for himself - in 2015 he was the highest paid CEO in the country, mainly because of a nearly $91 million stock option grant. He is also on the board of the New York Times Company and sports merchandise company Fanatics Inc.

Under Khosrowshahi’s leadership, Expedia more than doubled its annual revenue since 2012 to nearly $8.8 billion in 2016. The company reported net income of $281.8 million for 2016.

In an interview with CNBC in May, he said: “Analysts are focused on margins. I am focused on growth.”

He led Expedia through a string of acquisitions since 2014, buying Airbnb rival HomeAway Inc for $3.9 billion, Orbitz Worldwide Inc for $1.3 billion and Travelocity for $280 million, cobbling together an online travel empire. Expedia is the world’s largest online travel agency by bookings.

He has been an outspoken critic of President Donald Trump, blasting Trump’s travel ban, which includes Iran, as “inward-looking” and “reactionary.” Expedia filed a legal challenge to the ban.

At Uber, he would bring an end to a company culture built on founder control. Kalanick enjoyed sweeping authority on the board and nearly complete autonomy in running the company, a governance style that helped to create a workplace that had few checks and balances.

Uber has been hit by allegations of sexual harassment, a lawsuit alleging trade-secrets theft, a federal criminal probe over use of software to evade city regulators, and allegations of executives mishandling the medical records of a victim who was raped by her Uber driver in India, among other controversies.

Uber was valued at $68 billion at its most recent investment last year, but recently some mutual funds have written down the value of their Uber investment by as much as 15 percent, a sign of wavering confidence in the company.

Despite the controversies, Uber is still a growing company. Last week, the company reported a 16 percent increase in ride bookings and a 17 percent jump in net revenue for the second quarter over the previous period, and its losses shrank by 9 percent.

Among Khosrowshahi’s first tasks at Uber would be filling a slew of executive vacancies, including those of chief financial officer, chief operating officer and general counsel. In the absence of top leadership, Uber has been run by a 13-person committee.

What role Kalanick has in the company going forward is a critical question whose answer remains unclear.

In a previous statement, Kalanick said he would support the new CEO “to guide Uber into its next phase of growth and ensure its continued success.”

A spokesman for Kalanick did not respond to a request for comment on Sunday evening.