LOS ANGELES (AP) The criminal prosecution of a University of California, Los Angeles, chemistry professor stemming from a fatal lab fire has ended with a settlement.

The deal calls for professor Patrick Harran to prepare inner-city high school students for college chemistry for five years, perform 800 hours of community service and pay a $10,000 fine.

The district attorney's office says Harran acknowledged in court Friday that he was the direct supervisor of the victim and was ultimately responsible for the safety of personnel.

Research assistant Sheharbano "Sheri" Sangji was experimenting with a chemical in 2008 when it burst into flames. She wasn't wearing a protective coat and was burned. She died 18 days later.

Harran was charged with felony violations of state labor codes and failure to require body protection for employees.