Norwegian Cruise Line has reached a settlement that ends litigation over allegations by a passenger that she was sexually assaulted during a hip hop-themed voyage.

The agreement follows a string of courtroom setbacks for the anonymous passenger as the judge threw out claims against rapper DJ Khaled, who hosted the themed cruise, and security firm Almighty Protection Services.

Lawyers for both sides have filed a joint notice with the US federal court in Miami notifying the court that the case had been settled.