Uber and a woman who accused top executives of improperly obtaining her medical records after a company driver raped her in India have agreed to settle a civil lawsuit the woman filed against Uber in June, according to a US federal court filing on Friday.

The Uber driver was convicted of the rape, which occurred in Delhi in 2014, in a criminal case in India. He was sentenced in 2015 to life in prison.

The Indian woman had previously settled a civil US lawsuit against Uber in 2015, but sued the company again in a San Francisco federal court saying that shortly after the incident, a US Uber executive "met with Delhi police and intentionally obtained plaintiff's confidential medical records." Uber kept a copy of those records, the lawsuit said.

The woman was living in the US when she filed the lawsuit.

Terms of the settlement were not disclosed in the court document. A spokesman for San Francisco based Uber declined to comment. An attorney for the woman could not immediately be reached for comment.

The settlement comes as new CEO Dara Khosrowshahi, who took the top job in August, is seeking to put several scandals behind the company following eight years of CEO Travis Kalanick's pugnacious leadership, which led to rule-breaking around the world.

The lawsuit cited several media reports that said Mr Kalanick and others doubted the victim's account of her ordeal.

"Uber executives duplicitously and publicly decried the rape, expressing sympathy for plaintiff, and shock and regret at the violent attack, while privately speculating, as outlandish as it is, that she had colluded with a rival company to harm Uber's business," the lawsuit said.

A source with knowledge of the matter previously told Reuters that Mr Kalanick had told other Uber executives he believed the incident had been staged by Indian ride-services rival Ola.

In a prior statement, while Mr Kalanick was CEO, Uber said: "No one should have to go through a horrific experience like this, and we're truly sorry that she's had to relive it."

A spokesman for Mr Kalanick was not immediately available for comment on Friday.

Uber's actions have led to a criminal probe by the US Department of Justice of whether managers violated US bribery laws, specifically the Foreign Corrupt Practices Act, the company said in June.

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 Justice Department did not say on what country or countries the investigation centred on. Bloomberg said it focused on activity in at least five Asian countries. Uber has also notified US authorities about payments made by Uber staff to police officers in Indonesia, a person familiar with the matter told Reuters.

Uber previously hired law firm O'Melveny & Myers LLP to investigate how it obtained the medical records of the rape victim, Reuters reported in June.