Uber is settling a lawsuit filed by Google‘s autonomous car unit alleging that the ride-hailing service ripped off self-driving car technology – bringing the four-day civil trial to an abrupt end.

Both sides in the case issued statements confirming the settlement Friday morning in the midst of a federal court trial in the case.

Google’s Waymo unit says Uber agreed to take steps to make sure Waymo technology isn’t used in Uber’s autonomous vehicles.


 Waymo says Uber also agreed to pay about $245million.

Uber’s CEO says in a printed statement that the company doesn’t believe trade secrets made their way from Waymo to Uber.

He also says Uber is taking steps to make sure its self-driving vehicle research represents only Uber’s work.

Uber chief executive Dara Khosrowshahi said in a statement announcing the settlement that ‘while we do not believe that any trade secrets made their way from Waymo to Uber… we are taking steps with Waymo to ensure our Lidar and software represents just our good work’.