June 02, 2016 11:50 AM

The gunman in the Wednesday shooting at University of California, Los Angeles, was a disgruntled former student who accused a professor of stealing a computer code, according to multiple reports.

Mainak Sarkar, 38, gunned down engineering professor William Klug in a small office at a campus engineering building before turning the gun on himself, a Los Angeles Police Department spokesperson tells PEOPLE.

Officials told the Los Angeles Times that Sarkar was a former doctoral student at the university who accused Klug of stealing his computer code and giving it to someone else.

Less than three months before the shooting, Sarkar reportedly vented his frustrations about the professor on social media, according to KTLA and other outlets.

William Klug

“William Klug, UCLA professor is not the kind of person when you think of a professor. He is a very sick person,” he reportedly wrote in March in a now-deleted blog called “the longdarktunnel,” per NBC News.

“I urge every new student coming to UCLA to stay away from this guy. He made me really sick.”

Want to keep up with the latest crime coverage? Click here to get breaking crime news, ongoing trial coverage and details of intriguing unsolved cases in the True Crime Newsletter.

“Your enemy is my enemy. But your friend can do a lot more harm. Be careful about whom you trust,” he also reportedly wrote.

Sarkar and Klug died in what officials called a murder-suicide at a small office in UCLA’s Boelter Hall.

Police responded to reports of gunfire at the building just before 10 a.m., which resulted in a campus-wide lockdown implemented well into the afternoon.

Heavily armed SWAT officers swarmed UCLA after gunshots were reported in an engineering building
Johnny Dodd

Klug, 39, was a married father of two and his colleagues described him as a “kind, gentle soul.”

“He’s such a young professor. He was just very kind and respectful,” Jim Gimzewski told the Associated Press of the man.

“I could never have guessed that this would happen to him. It’s just so tragic.”

You May Like