The board of Uber Technologies Inc., after meeting throughout the weekend, has chosen Expedia CEO Dara Khosrowshahi as its new chief executive.

Khosrowshahi's name wasn't even on the public list of contenders for the job, but after today's vote, he has been picked as the new boss, reports The New York Times, The Washington Post, and Reuters. HP Enterprises CEO Meg Whitman and former GE CEO Jeffrey Immelt were thought to be the top contenders.

Immelt withdrew earlier today when it became clear he didn't have enough votes, according to the NYT. The board was leaning toward Whitman, "but matters changed over the course of Sunday afternoon," the newspaper reported.

Uber isn't commenting publicly on the selection at this point and told Reuters it "will announce the decision to the employees first."

Khosrowshahi has been the CEO of Expedia since 2005. Before that, he was an executive and then CEO at IAC/InterActiveCorp. He's also a director at BET and The New York Times.

The Expedia executive will join Uber at a difficult time in the company's history. Uber's former CEO, Travis Kalanick, resigned under pressure after a bruising investigation into the company's toxic culture, which led to at least 20 terminations. Now Kalanick is mired down in a lawsuit with investors who want to take away his board seats. Meanwhile, Uber is facing an intellectual property lawsuit brought by Google's Waymo division that could go to trial in October.

Whitman tweeted last month that she had no intention of becoming the CEO of Uber, but by this weekend, she was clearly in contention. Immelt and Khosrowshahi presented to Uber's board of directors on Friday, while Whitman presented on Saturday, NYT reported.

Benchmark Capital, the VC firm that sued Kalanick, had backed Whitman, while Kalanick backed Immelt, according to Recode.

Recode reports that Khosrowshahi hasn't formally been offered the job, nor accepted. But he is expected to take it, as he "appears to be the one person dueling factions of the board can agree on."