ANNAPOLIS (NYTIMES) - Before he stormed into a quiet newsroom and unleashed a burst of gunfire that left five people dead, the suspect in the Maryland attack vented his hostility at the world with a barrage of lawsuits, harassment and workplace conflict.
Jarrod W. Ramos, the suspected gunman, had been fired from his job as a government employee, was the subject of a police investigation and for years kept up an online crusade against targets including the criminal justice system and the local newspaper.
"When I heard about the Capital shooting on the news, I told my wife, 'it's Ramos," said Brennan McCarthy, a lawyer in Annapolis, Maryland, who represented a woman whom Ramos was convicted of harassing in 2011.
"Here's a guy who is so out there, he is stalking the attorney for the stalking victim," McCarthy said.
His trail of public clashes finally came to an end when Ramos used a pump-action shotgun and smoke grenades to attack the employees of the Capital Gazette, against which he had long held a grudge after a columnist wrote about his harassment of a female high school classmate.
On Friday, Ramos, 38, appeared in state District Court by a video feed and was charged with five counts of murder. He was denied bail.
Over the years, Ramos directed particular fury at the Capital Gazette and its staff. In July 2012, Ramos filed a defamation lawsuit in Prince George's County Circuit Court against Capital Gazette Communications, its then editor and publisher, and a former reporter, claiming his reputation had been damaged by a column. Three months later he filed a fuller complaint alleging invasion of privacy.
According to the article, Ramos sent a friend request on Facebook to a former high school classmate and over the course of several months, he "alternately asked for help, called her vulgar names and told her to kill herself."
Ramos began tweeting under an account he called @EricHartleyFrnd, in which he taunted the reporter, Eric Hartley.
He posted screenshots of court documents relating to a defamation case he had filed against the newspaper, and railed against other newspaper employees.
The attacks online prompted members of the Anne Arundel County Police Department to visit Ramos in spring 2013, at the behest of the newspaper's editor at the time, Thomas Marquardt, who was concerned about the hostile messages.
But nothing came of the investigation, which has become a source of recrimination in the aftermath of the attack.
Chief Timothy Altomare of the county police said in a news conference Friday that Marquardt "did not call in" to a conference call where the decision was made not to pursue criminal charges.
Marquardt, for his part, said the news organization's lawyer had been on the call, and the police had advised that they did not have a strong case.
In a police report obtained Friday, law enforcement officials had indicated that they did not believe Ramos to be a threat to the Capital Gazette's employees.
"He has not attempted to enter the Capital Newspaper building or sent direct threatening correspondence," the report said. "They told us they didn't think the information was there and we bowed to their wisdom on this thing," Marquardt said.
The police investigation came on the heels of another legal dispute between Ramos and his former high school classmate, the subject of his earlier harassment case. She had retained a lawyer, McCarthy, in early 2013, after receiving a letter from Ramos that made her uncomfortable.
"I am prepared to add you to my lawsuit against Eric Hartley," Ramos wrote in a letter dated Jan 30, 2013.
"I am satisfied you did not directly solicit his column about me, but I think you know who did. Given all that has transpired, I think you have many such secrets, and I would ask you to surrender them."
After McCarthy obtained another order prohibiting him from contacting her, Ramos sued the lawyer himself. He also appealed the order against contacting the former classmate, which was granted, McCarthy said.
Ramos graduated from Capitol Technology University in 2006, and held a job as an information technologist with a subcontractor for the Bureau of Labor Statistics for several years. But in July 2014, six months after Enterprise Information Services took over the contract, he was terminated at the request of the government, representatives of the company said. The contractor said it was not aware of the reason for the request.
Ramos, who had worked on the help desk answering employee questions about computer glitches and how to reset passwords, then filed a lawsuit against his former employer, saying that money was not paid to him.
On Friday in court, Judge Thomas Pryal told Ramos, "There is a certain likelihood you are a danger."
Ramos did not speak and showed no emotion, staring into the camera and blinking occasionally.