Just as the case was set to go to trial, New York City and Citibike have settled a negligence lawsuit against the city government and the bike-sharing service filed by a cyclist who was not wearing a helmet and who suffered brain damage in an accident.

The plaintiff in the case claimed $60 million in damages. The case was settled on confidential terms under an agreement reached on May 18, according to a letter from Eileen Budd of Lewis Brisbois Bisgaard & Smith, who appeared as outside counsel for the city in the case, to Southern District Magistrate Judge Sarah Netburn requesting a confidentiality order to shield the conditions of the settlement.

The case had been set to go to trial Monday, according to Netburn's latest scheduling order in the case.