Parts of surveillance video showing the deadly attack inside a Maryland newspaper in progress are so upsetting to watch that the recording would “unduly prejudice the jury,” a defense attorney told a judge Tuesday, while a prosecutor said the video is “the most important evidence in the case.”

Elizabeth Palen, an attorney for Jarrod Ramos, focused on part of the recording that shows one of the five victims who died in the attack at the Capital Gazette newsroom trying to escape the newsroom after she was wounded. Palen described it as “inflammatory” and “inherently upsetting to watch.”

“It is very graphic,” Palen said, adding that still photographs of the scene should be used instead.

Anne Colt Leitess, the state’s attorney who is prosecuting the case, told Judge Laura Ripken that she couldn’t think of any case law to suggest evidence should be “dumbed down and neutered.” She described the video as “the silent witness in this case.”

“It’s very powerful evidence to show the defendant’s intent to kill,” Leitess said.

The recording shows Ramos wearing earplugs and shooting glasses and checking to make sure the laser sight on his gun was on before he tries to open a locked door and shoots his way inside, Leitess said.

The video shows sales assistant Rebecca Smith, who later died at a hospital from her wounds, trying to crawl away after being shot, while several others in the office escape, Leitess said.

The video shows Smith being shot a third time from behind as she tried to crawl away, Leitess said.

Leitess described the video as showing the laser sighting flash on the wall, near where photographer Paul Gillespie’s head had just been — before he ran out of the office. The video also shows Ramos physically pumping the shotgun as he fires.

“You see him making that motion,” Leitess said.

A video recording also shows the back of the office, where police say Ramos had barricaded a door to prevent people from escaping.

Video of the front is just over an hour in length, while video from the back is about 34 minutes.

Ripken said she would review the video with attorneys present and hear more arguments this week.

Ramos has pleaded not guilty and not criminally responsible, Maryland’s version of an insanity defense.

He’s charged with five counts of first-degree murder and other charges. John McNamara, Wendi Winters, Gerald Fischman and Rob Hiassen also died in the attack.

Police say they arrested Ramos after the June 2018 shooting as he hid under a desk in the newsroom.

Ramos, 39, had a long history of harassing the Capital Gazette’s staff. He filed a defamation suit against the newspaper in 2012 that was thrown out as groundless, and he often railed against the newspaper in tweets.

His anger at the newspaper began with an online harassment and stalking case stemming from contact with a high school classmate in late 2009 or early 2010. The woman eventually went to police, and Ramos pleaded guilty to a misdemeanor harassment charge. The newspaper’s story about the case touched off a tirade from Ramos.

Defense attorneys have been arguing for weeks over issues relating to discovery, a legal process involving evidence exchanges between the defense and the prosecution, and they have asked the judge to sanction prosecutors.

Ripken said Tuesday she believes prosecutors have gone “above and beyond” in supplying information.

Three days of jury selection are scheduled to begin Oct. 30. The trial is set to start Nov. 4.