SAN FRANCISCO — UC Berkeley has reached a settlement with ousted law school dean Sujit Choudhry, ending a tumultuous saga that erupted last year after his former executive assistant sued him for sexual harassment.

The settlement terminates the university's ongoing disciplinary action against Choudhry, and resolves the civil lawsuit brought by his former assistant, Tyann Sorrell.

The former law dean will pay $50,000 to Sorrell's attorneys and another $50,000 to a charity of Sorrell's choice under the terms of the deal. He will also be allowed to remain a tenured professor while on sabbatical until spring 2018, at which point he will resign.