William S. Klug was identified as the victim in the apparent murder-suicide at UCLA Wednesday, according to multiple media outlets. A student who has not yet been identified is believed to have shot and killed the professor of mechanical and aerospace engineering. It hasn’t been confirmed, but the student was reportedly upset about a grade the professor had given him.

Students were delivering final presentations and taking end-of-the year exams when the deadly shooting took place. The shooter reportedly turned the gun on himself after he killed the professor. Klug and the shooter were both pronounced dead at the scene. Nobody else was shot.

A note was found at the scene, but its contents haven’t been reported. It’s unknown whether it is related to the murder-suicide. In addition to this seeming suicide note, a gun was found at the scene. “There is evidence that there could be a suicide note, but we do not know that,” Los Angeles Police Chief Charlie Beck said.

After the shooting, Wednesday’s classes were canceled “out of an abundance of caution.” The campus was declared safe two hours following the first shot.

“It appears that it is entirely contained,” Beck told reporters. “We believe there are no suspects outstanding and no continuing threat to UCLA’s campus.”

UCLA posted this message on its website: “A shooting was reported this morning at UCLA. Emergency measures were taken immediately, and students, faculty and staff were advised to move inside and take steps to stay safe. Campus and Los Angeles police responded and determined that two persons were dead in the Engineering IV building, apparently the result of a murder-suicide. All classes were canceled for the remainder of the day, and the investigation continues.”

Some engineering classes also will be canceled the rest of this week, KNX-TV reporter Cooper Rummell tweeted.

#UCLAshooting: Student apparently despondent about his grades shot professor & then killed himself, according to law enf source. @KNX1070 — Claudia Peschiutta (@ReporterClaudia) June 1, 2016

JUST IN: Victim in UCLA shooting identified as Prof. William S. Klug pic.twitter.com/ELCRN9WjFW — CBS Los Angeles (@CBSLA) June 1, 2016

#UCLA School officials say some engineering classes will remain closed for the rest of the week. Vigil to be held in coming days. @KNX1070 — Cooper Rummell (@KNXCooper) June 1, 2016

Follow me on Twitter @mariamzzarella