TOPSHOT - Police respond to a shooting in Annapolis, Maryland, June 28, 2018. - Several people were feared killed Thursday in a shooting at the building that houses the Capital Gazette, a daily newspaper published in Annapolis, a historic city an hour east of Washington. A reporter for the Capital Gazette, Phil Davis, tweeted that a "gunman shot through the glass door to the office and opened fire on multiple employees." He said several people were killed."There is nothing more terrifying than hearing multiple people get shot while you're under your desk and then hear the gunman reload," Davis said. (Photo by SAUL LOEB / AFP)        (Photo credit should read SAUL LOEB/AFP/Getty Images)
Capital Gazette shooting survivors share their stories (2018)
05:47 - Source: CNN
CNN  — 

The man accused of carrying out last month’s deadly shooting at a Maryland newspaper has been indicted on five counts of first-degree murder, according to the prosecutor.

On Friday, an Anne Arundel County grand jury indicted Jarrod Ramos on 23 counts in connection with the June 28 shooting, State’s Attorney Wes Adams said in a statement.

In addition to the five murder charges, Ramos faces a count of attempted first-degree murder and 17 other assault and weapons charges.

Ramos, 38, is accused of walking into the Capital Gazette newsroom in Annapolis and opening fire, killing five employees – Gerald Fischman, Rob Hiaasen, John McNamara, Rebecca Smith and Wendi Winters – and leaving two others wounded.

Jarrod Ramos, 38, has been indicted on 23 counts in last month's rampage.

The attack took place a few years after Ramos had unsuccessfully sued the newspaper for defamation. An article in the paper had chronicled Ramos’ harassment of a former classmate on social media.

Ramos pleaded guilty to a harassment charge, according to court documents.

CNN’s attempts to reach Ramos’ attorney for comment were unsuccessful.

CNN’s Shawn Nottingham, Nicole Chavez and Jason Hanna contributed to this report.