SAN FRANCISCO — Dara Khosrowshahi’s family immigrated to the United States from Iran in 1978, when their country was convulsed by revolution. They were not particularly welcomed in America, and were broke.
“Every one of us cousins had a chip on our shoulders, having lost everything to the new Iranian government,” said Hadi Partovi, a cousin of Mr. Khosrowshahi’s. “We had a desire to build anew as entrepreneurs.”
Mr. Khosrowshahi, 48, is on the threshold of becoming one of the world’s most prominent entrepreneurs. On Sunday night, he was selected to be chief executive of Uber, the ride-hailing company that is the world’s most valuable start-up. The deal is almost official, according to the travel reservations site Expedia, which Mr. Khosrowshahi currently runs.
The news follows six months of extraordinary turmoil at Uber. Mr. Khosrowshahi will succeed Travis Kalanick, an Uber co-founder and the company’s driving force, who was forced to step down in June as the business was rocked by one scandal after another.
His task will be to repair the internal culture, which had moved beyond gung-ho start-up to a company known for its divisiveness and tolerance for harassment. He will have to build Uber’s business while preparing it for a self-driving future that competitors hope to dominate themselves. Sooner or later he will likely take Uber public.
There is also the wild card of Mr. Kalanick, who might seize on any trouble to mount a comeback. And finally, he will have to manage all this under a much brighter spotlight than he has worked under before.
Mr. Khosrowshahi was a long-shot candidate whose name did not become public until he had the job. Expedia is based in Bellevue, Wash., which makes him a Silicon Valley outsider. He had not commented on his new job as of Monday afternoon.
At the same time in June that Mr. Kalanick was noisily being ejected from his company, Mr. Khosrowshahi had a problem of his own — his parents. Glassdoor, a site where employees rank their companies, released its 2017 list of the top chief executives. Mr. Khosrowshahi’s score had dropped.
His parents weighed in with that combination of celebration and criticism that many immigrant children know well. As Mr. Khosrowshahi reported on Twitter, his mother said, “Nice! You made the top 100!” But his father pointed out: “#39 is good but you were #11 in 2015.”
His parents, Lili and Gary (short for Asghar) Khosrowshahi, were prosperous members of the Iranian elite in the 1960s and 1970s. Gary was an executive at an industrial conglomerate, where he worked with relatives. They fled as the government of Shah Mohammed Reza Pahlavi collapsed.
The family made it to Tarrytown, N.Y., and lived with relatives. “For the grown-ups, it was a difficult transition,” Dara Khosrowshahi told Bloomberg Businessweek this year. “The kids were able to party together, so it was fun.”
Four years later, Gary went back to Iran to take care of his ailing father, and he was detained for six years before he could return. Lili raised three children alone.
“His mom raised him to be direct with people,” said Mr. Partovi, the cousin. “By far the biggest challenge he faced, which is what all of us faced, was having to come to a new country and assimilate. Being an Iranian in America in the 1980s was not pleasant. People were singing ‘Bomb bomb bomb Iran.’ ”
But the tense environment also pushed them to succeed.
Mr. Partovi and his twin brother Ali were early investors in Facebook, Dropbox, Airbnb and, as it happens, Uber; Dara’s brother, Kaveh Khosrowshahi, is a managing director at the investment firm Allen & Company; another cousin, Farzad “Fuzzy” Khosrowshahi, played a major role in the creation of Google Docs; yet another cousin, Amir Khosrowshahi, is an executive at Intel; and Avid Larizadeh Duggan, also a cousin, is a general partner at Google Ventures.
Mr. Khosrowshahi, in 2015, was the highest-paid executive in America as calculated by Equilar. Thanks to a large stock option grant, he made $ 94.6 million. In 2016, without the grant, his pay was $ 2.5 million.
Mr. Khosrowshahi, in addition to running Expedia since 2005, joined the board of The New York Times Company in 2015.
His route to success took him to the investment firm of Allen & Company, where he spent most of the 1990s as an analyst. Barry Diller was a client, and Mr. Khosrowshahi eventually went to work for the media mogul.
In 2001, Mr. Diller acquired Expedia, a travel booking site founded by Microsoft. Four years later, Mr. Khosrowshahi became Expedia’s chief executive. The site has flourished, acquiring three major competitors in 2015 alone. Shares in the company, which is now publicly traded, have risen 35 percent over the last year, despite competition from Priceline on one flank and Airbnb on another.
“If Dara does leave us, it will be to my great regret but also my blessing — he’s devoted 12 great years to building this company and if this is what he wants for his next adventure it will be with my best wishes,” Mr. Diller said in a note to Expedia employees on Monday.
Uber, like Expedia a decade ago, has enormous promise but also faces enormous challenges. Mr. Khosrowshahi’s supporters believe he can fix the problems.
“He’s a global travel executive — he understands competitive dynamics, geopolitical challenges, and the operating challenges of running a sprawling global travel company,” said Brad Gerstner, founder of Altimeter Capital, an investor in Uber as well as Expedia.
Under Mr. Kalanick, some Uber executives were considered untouchable, which contributed to a poisonous atmosphere. Shana Fisher, who worked with Mr. Khosrowshahi at Mr. Diller’s IAC and is now a venture capitalist, said, “People don’t get an excuse with Dara. They have to be good and good. Good and good. He doesn’t have tolerance for less than that.”
Mr. Khosrowshahi’s experiences as an immigrant gave him a personal perspective on the executive order that President Trump signed restricting travel from seven predominantly Muslim countries this year.
Expedia, along with Amazon, gave early support to a lawsuit filed by Washington State’s attorney general objecting to the travel ban. Around the same time, Mr. Khosrowshahi described his early experience as an immigrant in an email to employees.
“We sure didn’t feel like refugees, but in hindsight I guess we were — my father and mother left everything behind to come here — to be safe and give their boys a chance to rebuild a life,” he wrote.
He has repeatedly expressed concerns about Mr. Trump, most recently on Aug. 15, when he tweeted: “I keep waiting for the moment when our Prez will rise to the expectations of his office and he fails, repeatedly.”
Lili and Gary are clearly watching their son rise to their own expectations. After he was interviewed by Jim Cramer, the host of the financial TV show “Mad Money,” in May, Dara posted on Twitter: “didn’t screw it up (according to mom).”