Police officers rushing to the University of California at Los Angeles after reports of gunshots were worried there might be an active shooter on campus, but instead they discovered a “contained” murder-suicide involving a gunman killing his former professor. They also found a note asking authorities to check on the gunman’s cat nearly 2,000 miles away.

That note began to unravel an unusual, violent plan, with police on Thursday discovering a “kill list” in the shooter’s Minnesota home that included a woman who was found dead outside Minneapolis, said Charlie Beck, chief of the Los Angeles Police Department.

Police believe the gunman — Mainak Sarkar, 38 — traveled to UCLA on Wednesday with a grudge against William Klug, 39, the engineering professor who chaired his mechanical engineering doctoral dissertation committee three years earlier. They also said Sarkar, carrying two semi-automatic pistols and extra ammunition, also intended to kill another, unidentified UCLA professor — the third person on his list — but that professor apparently was off-campus when Sarkar arrived.

“Sarkar was heavily-armed,” Beck said during a news conference Thursday, adding that the guns appeared to be legally purchased. “He had multiple magazines of ammunition and multiple loose rounds of ammunition. He was certainly prepared to engage multiple victims with the ordnance he had.”

The gunman made his way to Klug’s fourth-floor office in an engineering building and fatally shot Klug — a husband and father of two — before quickly taking his own life, Beck said.

When police arrived at the scene, they found what Beck described as “an instructional note to the finder to check on his cat, which we did.” That note led authorities to Sarkar’s home in St. Paul, Minn., where they found more ammunition and his “kill list,” Beck said.

Because this list included the name of a woman in Brooklyn Park, Minn., the LAPD asked police in that city to visit her home. Officers arrived just after midnight and found her dead with a gunshot wound, which police said occurred before the UCLA shooting.

Police say former student Mainak Sarkar killed UCLA professor William Klug before killing himself on June 1, and that he had a "kill list." Here's what you need to know. (Gillian Brockell/The Washington Post)

A relative of Ashley Hasti, 31, said that Hasti was the woman found dead in Brooklyn Park. Hasti was Sarkar’s estranged wife, said Hasti’s great aunt, Teckla Shaylor, and the two had been living apart for some time. Shaylor said there was no indication that Hasti was in any danger prior to the family learning of her death.

“That’s why we were all in total shock when I heard about it this morning,” Shaylor said. “Not one inkling that he would do that and then go on to kill his professor and himself.”

Shaylor said the two were together for about five years — county marriage records obtained by The Washington Post indicate the couple married in 2011 — but Shaylor said they split up about two years after they wed and that she didn’t know much about why.

“They didn’t open up about that kind of stuff,” she said.

Hasti was close with her grandmother, Shaylor said, and was an “awesome” sister to her younger sibling. She was studious and bright, Shaylor said, and pushed through difficult times, only to be “taken away, in the prime of her life.”

“When I think of Ashley?” Shaylor said. “Oh my goodness … she was the prettiest little girl, with little soft ringlets. She’d run around, and just smile.”

Hasti graduated from the University of Minnesota in 2008 after studying Asian languages and literature, and enrolled in the medical school in the fall of 2012, according to university spokesman Steve Henneberry. She was enrolled for the summer term, which begins next week.

Police have not officially released the woman’s name, and Beck said he could not immediately elaborate on her relationship with Sarkar. The Hennepin County Medical Examiner’s Office has not confirmed the identity of the victim, nor has the Brooklyn Park Police Department or LAPD.

“We’re trying to coordinate our efforts between Minnesota and California with this investigation, which is very complex,” Mark Bruley, deputy chief of the Brooklyn Park police, said during a news conference.

Beck said police are working on finding a possible motivation for the shooting, but he said it appeared to be a case of “mental derangement.” Police provided little information about Sarkar, and details about his life at UCLA and in Minnesota were elusive Thursday; colleagues declined to comment about him.

“Everybody tries to look for a good reason for this,” Beck said in an interview Thursday morning on KTLA. “There is no good reason for this.”

Beck said the shooting at UCLA appeared to be “tied to a dispute over intellectual property.” Sarkar apparently felt that Klug had released some kind of information that harmed him, Beck said.

“That appears to be his motive,” Beck said. “When I say his motive, there’s nothing factual to this. We have discussed this with UCLA, and UCLA says there is no truth to this, this was a making of his own imagination.”

UCLA officials said they could not confirm whether there was a dispute or whether Sarkar, who attended the school between 2007 and 2013, had been flagged as a potential concern during his time there.

Social media postings by Sarkar, who moved to Minnesota after graduating from UCLA’s engineering school in 2013, showed him “bashing” the professor, Beck said.

“Sarkar, our suspect, had issues with his professors that were known to them,” Beck said. “But I don’t think that is a cause for somebody to believe they’re going to be a homicide target.”

Klug served as Sarkar’s adviser for his dissertation, which focused on cardiac issues and was approved in 2013. The dissertation includes a dedication: “In loving memory of my mother, Ira Sarkar.”

The shooting at UCLA locked down the campus for two hours Wednesday morning, prompting a massive law enforcement response and forcing students to hide in rooms amid fears of an active shooter. Scott Waugh, the executive vice chancellor and provost, said the university would review its active-shooter protocols in the wake of the shooting.

A colleague on the faculty described Klug as sweet, gentle and good-hearted. Klug led the team that created a virtual heart, a supercomputer model realistic enough to test drugs and devices. Klug was doing research on developing drug strategies to treat a common and deadly type of heart disease and the mechanics of the heart.

In 1997, Klug graduated from Westmont College, a liberal arts school in Santa Barbara, Calif., with a bachelor’s degree in engineering physics. Westmont President Gayle D. Beebe said in a statement Thursday that Klug was remembered “as a gentle, kind person without a trace of arrogance.”

Klug went on to get a master’s degree in civil engineering at UCLA in 1999 and got his doctorate in mechanical engineering at the California Institute of Technology in 2004. Klug’s wife, Mary Elise, also graduated from Westmont and UCLA, according to those schools.

“I was a teaching assistant at Westmont and held help sessions for students. Mary Elise often sat in on them and told me I should be a teacher,” Klug said in a Westmont magazine alumni profile. “She kept talking about it.”

Two people were killed in a likely murder-suicide in an office on the UCLA campus, LAPD Chief Charlie Beck said on June 1. Students and staff are slowly being released from lockdown. (Reuters)

Mary Elise Klug issued a statement Thursday. “During this extremely difficult time for our family, we are grateful for the tremendous outpouring of support,” she wrote. “This is an indescribable loss. Bill was so much more than my soulmate. I will miss him every day for the rest of my life. Knowing that so many others share our family’s sorrow has provided a measure of comfort.

“That said, we are a very private family, and we need time to heal and recover from this senseless tragedy. At this time, we ask the media to please respect our family’s privacy in and around our home, school and local community during the days and weeks ahead, especially for the sake of my children.”

UCLA students organized a memorial Thursday evening for Klug, while the engineering school planned a vigil for Friday.

People who knew Klug remembered him Thursday as someone who spent years volunteering with a local little league team, describing him as dedicated to teaching people and helping them grow.

Alex Levine, a UCLA professor who had collaborated with Klug, called him a “decent and kind person” who loved his job, loved interacting with students and felt privileged to be a professor at the university.

“He was a soft-spoken person and in a world of large egos, he did not have one,” Levine said.

Levine called Klug an “excellent mentor to his students,” who got to know them personally and let them take the lead on their own projects. Klug was also an avid surfer when his children were younger, Levine said, and a Dodgers fan.

“Last time I saw him, he was showing me movies of his son pitching,” Levine said. “And he was telling me the technical details of how you plant your foot that I would never have known about.”

Magda Jean-Louis contributed to this report, which has been updated.