Uber used an undercover unit to steal trade secrets and wiretap executives at rival companies, a letter published by a US court has claimed.

The 37-page document containing a slew of allegations is being used as evidence in the firm’s $1.9bn (£1.4bn) legal battle with Waymo, the driverless car venture created by Google's parent company Alphabet.

Penned by lawyers acting for former Uber risk analyst Ric Jacobs, the letter details a campaign of “fraud and theft” that was allegedly carried out by the company against its competitors.

Mr Jacobs claimed the operatives for the firm stole trade secrets by impersonating passengers and drivers on a rival platform in order to collect data and reverse engineer app algorithms.

He also alleged Uber wiretapped bosses at a competitor during a “two-to-three week” period of surveillance against them.

The company has denied the allegations.

Mr Jacobs who was fired earlier this year, made the explosive claims in a 37-page letter that sought a big payoff for being forced out of the company.

The letter said the ride hailing application's spies had been able to infiltrate a private event at a hotel where rival executives had been staying – making recordings and taking photographs.

Mr Jacobs also claimed Uber had bribed officials in foreign countries who were willing to push its agenda through government.

In a statement, an Uber spokesman said: “While we haven’t substantiated all the claims in this letter – and, importantly, any related to Waymo – our new leadership has made clear that going forward we will compete honestly and fairly, on the strength of our ideas and technology.”

Uber controversies Show all 4 1 /4 Uber controversies Uber controversies June 2017 Travis Kalanick resigned from his position as CEO of Uber in July of this year, after a tumultous period for the company. A sexist workplace culture was exposed by a damning internal report, leading to heightened pressure on the CEO and consequently to him taking a leave of absence in June. A week later he was forced to resign after losing the confidence of the board of investors AFP/Getty Uber controversies June 2017 Indian police escort Uber taxi driver and convicted rapist Shiv Kumar Yadav following his court appearance in New Delhi on 8 December, 2014. An Uber executive, Eric Alexander, was fired in June of this year after reportedly obtaining the records of the rapist's victim, with the intent to cast doubt on her account of the incident. She later sued the company for defamation and violating her privacy rights Chandan Khanna/AFP Uber controversies May 2017 The company were ordered to pay up to $45 million dollars back to New York based drivers, after taking too much in commission over a two and a half year period. “We made a mistake and we are committed to making it right by paying every driver every penny they are owed, plus interest, as quickly as possible,” said Rachel Holt, Uber’s regional general manager in the US and Canada, to the Wall Street Journal Getty Uber controversies December 2016 Uber's self-driving cars were ordered to be removed from the roads by a Californian car regulator, after being spotted skipping traffic lights. Uber insist that the incidents were "human error" rather than a design flaw. The New York Times later refuted this in an article claiming the autonomous technology had in fact failed Youtube/KTVU

The document was not provided to Waymo as part of the pre-trial legal discovery.

The letter also has become evidence in a criminal investigation being conducted by the US Justice Department.

US District Judge William Alsup, who is overseeing the Waymo-Uber case, took the unusual step of recommending that federal prosecutors consider a criminal probe, based on the evidence and testimony that he had reviewed long before he knew about Jacobs' letter.

Waymo filed a lawsuit against Uber in February, claiming its former manager Anthony Levandowski took information when he left to co-found the now Uber-owned self-driving car company Otto.