Audio By Carbonatix
Electric car giant Tesla has agreed to settle a lawsuit over a crash in 2018 which killed Apple engineer Walter Huang after his Model X, operating on Autopilot, collided with a highway barrier.
The case, brought by Mr Huang's family, was scheduled to begin in the California Superior Court this week.
If the trial had gone ahead, it would have brought increased scrutiny of the firm's Autopilot and Full Self-Driving technology.
The terms of the settlement were not disclosed and reports have said the deal still needs to be approved by a judge. Tesla did not immediately respond to a BBC request for comment.
Before the settlement, Tesla argued that Mr Huang had misused the system because he was playing a video game just before the accident.

The firm has previously won trials in California by arguing that drivers involved had not followed its instructions to maintain attention while using the system.
The electric vehicle (EV) maker faces a series of lawsuits over crashes related to the alleged use of its driver-assistant technology.
The US National Highway Traffic Safety Administration has also been investigating some accidents involving Autopilot.
For many years, Tesla has promised to produce an autonomous car but has yet to launch one.
On Friday, Mr Musk said the company plans to unveil a self-driving robotaxi in August.
The settlement with Mr Huang's family comes at a time when the company is battling weakening sales.
Deliveries slid sharply in the first three months of this year as Tesla grappled with a fire at its European factory, global shipping disruption and growing competition.
Tesla has cut prices repeatedly in response to increased competition from rivals such as BYD but demand in key markets like China has fallen.
Tesla's shares have lost almost a third of their value since the start of this year.
Latest Stories
-
Ivory Coast miners start paying higher royalties after failed resistance, sources say
37 minutes -
Nigeria’s House to look into row between regulator and Dangote over fuel imports, pricing
46 minutes -
UK government considers advertising or subscription model for BBC
55 minutes -
Morocco rolls out emergency aid during harsh winter weather
1 hour -
BBC declares it will fight Donald Trump’s defamation claim – but should it?
1 hour -
Second doctor sentenced in Matthew Perry overdose death
1 hour -
Trump expands US travel ban to Burkina Faso, Mali, Niger and 2 other countries
1 hour -
Trump’s chief of staff disputes Vanity Fair story in which she criticises Vance and Musk
2 hours -
US unemployment rose in November to a four-year high
2 hours -
Trump repeats criticism of killed Hollywood director Rob Reiner
2 hours -
MIT professor shot at his Massachusetts home dies
2 hours -
Garnacho double at cardiff takes Chelsea through into EFL semis
4 hours -
Three friends jailed 27 years for stealingÂ
4 hours -
Two held over murder, robbery in KumasiÂ
4 hours -
Man remanded over workplace stabbing
4 hours
