HONOLULU — An attorney representing Brigham Young University-Hawaii told a federal judge the school will pay $5,000 to settle a former student's lawsuit alleging her campus job supervisor sexually assaulted and harassed her.

Attorney Charles Price told U.S. Magistrate Judge Kevin Chang on Monday that the university will pay the settlement in exchange for the lawsuit's dismissal. The 2016 lawsuit says the university's honor code banning premarital sex prevented her from seeking help.

Her attorney, Mark Gallagher, says she agrees to the settlement.

Price said the university is paying a "nominal" amount to resolve the lawsuit. University officials didn't immediately comment on the settlement.

The woman also named her former supervisor as a defendant in her lawsuit. The settlement dismisses any claims against him. His attorney says he passed a polygraph denying the allegations.

— Associated Press